TrivialFix: Remove default=None when set value in Config
By default oslo.cfg sets the default values as None [1], There is no need to explicitly do this. [1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L829 Change-Id: I22481e64c262d59fb78eb7c040f95d3fb211ccee
This commit is contained in:
parent
1f8551fafa
commit
0d1d7b4436
|
@ -184,7 +184,7 @@ def list_cli_opts():
|
|||
"against the target API"),
|
||||
cfg.BoolOpt("colorize", dest="colorize", short="cl", default=False,
|
||||
help="Enable color in Syntribos terminal output"),
|
||||
cfg.StrOpt("outfile", short="o", default=None,
|
||||
cfg.StrOpt("outfile", short="o",
|
||||
sample_default="out.json", help="File to print output to"),
|
||||
cfg.StrOpt("format", dest="output_format", short="f", default="json",
|
||||
choices=["json"], ignore_case=True,
|
||||
|
|
Loading…
Reference in New Issue