diff options
author | Gary Kotton <gkotton@vmware.com> | 2014-05-26 00:38:35 -0700 |
---|---|---|
committer | Gary Kotton <gkotton@vmware.com> | 2014-05-26 04:12:21 -0700 |
commit | e56445fc22392efacdc54b99d62835e87d825032 (patch) | |
tree | f6a0e9887036689f4568e7ff430bf3fe4085b5df /oslo | |
parent | fe29c0d37936d2048a0b0573a5ea6da95dbebbc6 (diff) | |
download | oslo-db-e56445fc22392efacdc54b99d62835e87d825032.tar.gz |
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
Diffstat (limited to 'oslo')
-rw-r--r-- | oslo/db/options.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/oslo/db/options.py b/oslo/db/options.py index 45a74bb..126ec49 100644 --- a/oslo/db/options.py +++ b/oslo/db/options.py @@ -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 ' |