Remove default=None for config options
In the cfg module default=None is set as the default value. It's not necessary to set it again when defining config options. Change-Id: I9fc33e44fdf038684195a19027255ce1bfe61dc6 Closes-bug: #1323975
This commit is contained in:
parent
01b8f89220
commit
638efd25b4
|
@ -60,7 +60,6 @@ def get_common_opts():
|
|||
|
||||
_COMMON = [
|
||||
cfg.StrOpt('client-id',
|
||||
default=None,
|
||||
dest='client_id',
|
||||
short='c',
|
||||
help='Specifies the client_id used when contacting the '
|
||||
|
@ -201,7 +200,6 @@ def parse_args(choices):
|
|||
positional = [
|
||||
cfg.StrOpt('action',
|
||||
choices=choices,
|
||||
default=None,
|
||||
help='{0}'.format(choices), positional=True),
|
||||
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue