Fix linting errors. (#343)
parent
327832dcbb
commit
772bfe9936
|
@ -194,7 +194,7 @@ def create(
|
||||||
(check is None or check == i['check']) and
|
(check is None or check == i['check']) and
|
||||||
(
|
(
|
||||||
creator == '' or
|
creator == '' or
|
||||||
creator == i['creator'])and
|
creator == i['creator']) and
|
||||||
(
|
(
|
||||||
reason == '' or
|
reason == '' or
|
||||||
reason == i['reason']) and
|
reason == i['reason']) and
|
||||||
|
|
|
@ -875,7 +875,7 @@ class AzureInventory(object):
|
||||||
else:
|
else:
|
||||||
env_settings = self._get_env_settings()
|
env_settings = self._get_env_settings()
|
||||||
for key in AZURE_CONFIG_SETTINGS:
|
for key in AZURE_CONFIG_SETTINGS:
|
||||||
if key in('resource_groups', 'tags', 'locations') and env_settings.get(key):
|
if key in ('resource_groups', 'tags', 'locations') and env_settings.get(key):
|
||||||
values = env_settings.get(key).split(',')
|
values = env_settings.get(key).split(',')
|
||||||
if len(values) > 0:
|
if len(values) > 0:
|
||||||
setattr(self, key, values)
|
setattr(self, key, values)
|
||||||
|
|
Loading…
Reference in New Issue