Resolve code style issue reported by a new version of flake

Change-Id: If4c4a460a95851b3ed09a68a240704a70e7d12a2
This commit is contained in:
Ilya Shakhat 2020-06-04 11:29:03 +04:00
parent 9168689007
commit 9d2ccc4e59
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ def init_config_and_logging(opts, **conf_overrides):
conf.set_override(k, v)
# requests to OpenStack services should be visible at DEBUG level
default_log_levels = [l for l in conf.default_log_levels
if not l.startswith('keystoneauth')]
default_log_levels = [lvl for lvl in conf.default_log_levels
if not lvl.startswith('keystoneauth')]
default_log_levels += ['pykwalify=INFO']
logging.set_defaults(default_log_levels=default_log_levels)