Allow ec2.py to be imported (#21637)

pull/21689/head
Alex Trevino 8 years ago committed by Ryan Brown
parent 4632b65086
commit 0d060a185f

@ -1567,5 +1567,6 @@ class Ec2Inventory(object):
return json.dumps(data)
# Run the script
Ec2Inventory()
if __name__ == '__main__':
# Run the script
Ec2Inventory()

Loading…
Cancel
Save