mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
PEP 8 fix.
This commit is contained in:
parent
511f2b7907
commit
e401b4e424
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class Ec2Inventory(object):
|
|||
self.regions = configRegions.split(",")
|
||||
if 'auto' in self.regions:
|
||||
env_region = os.environ.get('AWS_REGION')
|
||||
if env_region == None:
|
||||
if env_region is None:
|
||||
env_region = os.environ.get('AWS_DEFAULT_REGION')
|
||||
self.regions = [ env_region ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue