Skip to content

Commit

Permalink
Allow ec2.py to be imported (ansible#21637)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroTrev authored and ryansb committed Feb 20, 2017
1 parent 4632b65 commit 0d060a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/inventory/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1567,5 +1567,6 @@ def json_format_dict(self, data, pretty=False):
return json.dumps(data)


# Run the script
Ec2Inventory()
if __name__ == '__main__':
# Run the script
Ec2Inventory()

0 comments on commit 0d060a1

Please sign in to comment.