Remove redundant default=None for config options

The cfg module sets the default values as None by default. There
is no need to set this again.

The default is set as None:
http://docs.openstack.org/developer/oslo.config/opts.html#oslo.config.cfg.Opt

Change-Id: I9c427fe8b76cf496e7aaf4c0451c7d8fe90e3bfb
This commit is contained in:
Gary Kotton 2014-05-26 00:38:35 -07:00
parent fe29c0d379
commit e56445fc22
1 changed files with 0 additions and 3 deletions

View File

@ -64,7 +64,6 @@ database_opts = [
help='Minimum number of SQL connections to keep open in a '
'pool.'),
cfg.IntOpt('max_pool_size',
default=None,
deprecated_opts=[cfg.DeprecatedOpt('sql_max_pool_size',
group='DEFAULT'),
cfg.DeprecatedOpt('sql_max_pool_size',
@ -87,7 +86,6 @@ database_opts = [
group='DATABASE')],
help='Interval between retries of opening a SQL connection.'),
cfg.IntOpt('max_overflow',
default=None,
deprecated_opts=[cfg.DeprecatedOpt('sql_max_overflow',
group='DEFAULT'),
cfg.DeprecatedOpt('sqlalchemy_max_overflow',
@ -106,7 +104,6 @@ database_opts = [
group='DEFAULT')],
help='Add Python stack traces to SQL as comment strings.'),
cfg.IntOpt('pool_timeout',
default=None,
deprecated_opts=[cfg.DeprecatedOpt('sqlalchemy_pool_timeout',
group='DATABASE')],
help='If set, use this value for pool_timeout with '