mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix linting errors. (#343)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user