1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ def create(
(check is None or check == i['check']) and
(
creator == '' or
creator == i['creator'])and
creator == i['creator']) and
(
reason == '' or
reason == i['reason']) and

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)