Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Dependency on netifaces module are now only needed if RightScale.whoa…

…mi() is called.
  • Loading branch information...
commit 6cbee6957882de5209d949949697e34021be0f44 1 parent 822d5f0
silver authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rightscale/
2  src/rightscale/
@@ -16,7 +16,6 @@
# third party
import httplib2
-import netifaces
@@ -154,6 +153,7 @@ def whoami(self):
# This isn't likely the most optimal way to find the server, but
# it's not bad either. We could query by aws_id which would only require 1
# query, not 2n where n is the number of addresses on the system.
+ import netifaces
for interface in netifaces.interfaces():
addresses = netifaces.ifaddresses(interface)

0 comments on commit 6cbee69

Please sign in to comment.
Something went wrong with that request. Please try again.