Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't print terminated hosts

  • Loading branch information...
commit 9e94845d74f6e16a2690a56d8441e8fe5bf4abb1 1 parent 839d548
@rail rail authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  aws/
2  aws/
@@ -31,5 +31,5 @@
instances = reduce(lambda a,b: a+b, [r.instances for r in res])
for i in instances:
for mask in hosts_re:
- if'Name', '')):
+ if'Name', '')) and i.private_ip_address:
print i.private_ip_address, i.tags.get('Name')
Please sign in to comment.
Something went wrong with that request. Please try again.