improving string formatting to avoid dangling white spaces and new lines
This commit is contained in:
parent
7f73417bda
commit
d6f41b6a99
@ -212,7 +212,7 @@ class AWSSourcePlugin(SourcePlugin):
|
||||
if not regions:
|
||||
regions = ec2.get_regions(account_number=account_number)
|
||||
else:
|
||||
regions = regions.split(",")
|
||||
regions = "".join(regions.split()).split(",")
|
||||
|
||||
for region in regions:
|
||||
elbs = elb.get_all_elbs(account_number=account_number, region=region)
|
||||
|
Loading…
Reference in New Issue
Block a user