Fix LP #990667 - Keypair __repr__ referencesuuid
Replaces reference to non-existant uuid property with existant id property in Keypair.__repr__ Change-Id: I3aab0dce2c1f0f3cb5160e54a00a96b02f600854
This commit is contained in:
parent
cdfd1da4d0
commit
c135cf8ef6
1
AUTHORS
1
AUTHORS
@ -27,6 +27,7 @@ Jake Dahn <admin@jakedahn.com>
|
||||
James E. Blair <james.blair@rackspace.com>
|
||||
Jason Kölker <jason@koelker.net>
|
||||
Jason Straw <jason.straw@rackspace.com>
|
||||
Jay Pipes <jaypipes@gmail.com>
|
||||
Jesse Andrews <anotherjesse@gmail.com>
|
||||
Johannes Erdfelt <johannes.erdfelt@rackspace.com>
|
||||
John Garbutt <john.garbutt@citrix.com>
|
||||
|
@ -26,7 +26,7 @@ class Keypair(base.Resource):
|
||||
"""
|
||||
|
||||
def __repr__(self):
|
||||
return "<Keypair: %s>" % self.uuid
|
||||
return "<Keypair: %s>" % self.id
|
||||
|
||||
def _add_details(self, info):
|
||||
dico = 'keypair' in info and \
|
||||
|
Loading…
Reference in New Issue
Block a user