Permalink
Browse files

Include current server status while cleaning up

  • Loading branch information...
1 parent 87922cc commit e46f15e3c73b88760e6c822603bda5b65a99a224 @madasi committed Apr 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 clean_slate.py
View
@@ -27,5 +27,5 @@
pyrax.set_credential_file(os.path.expanduser('~/.rackspace_cloud_credentials'))
for server in pyrax.cloudservers.servers.list():
- print "Deleting server: ", server.name, " -- ID: ", server.id
+ print "Deleting server: ", server.name, " -- ID: ", server.id, " -- STATUS: ", server.status
server.delete()

0 comments on commit e46f15e

Please sign in to comment.