Fix linting errors. (#343)

This commit is contained in:
Felix Fontein
2020-05-15 13:35:41 +02:00
committed by GitHub
parent 327832dcbb
commit 772bfe9936
2 changed files with 2 additions and 2 deletions

View File

@@ -875,7 +875,7 @@ class AzureInventory(object):
else:
env_settings = self._get_env_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(',')
if len(values) > 0:
setattr(self, key, values)