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:
Jay Pipes 2012-04-28 14:27:08 -04:00
parent cdfd1da4d0
commit c135cf8ef6
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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 \