Permalink
Browse files

Fix LP #990667 - Keypair __repr__ referencesuuid

Replaces reference to non-existant uuid property with
existant id property in Keypair.__repr__

Change-Id: I3aab0dce2c1f0f3cb5160e54a00a96b02f600854
  • Loading branch information...
1 parent cdfd1da commit c135cf8ef69cd704d709556d3ab108bf3562843f @jaypipes jaypipes committed Apr 28, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 AUTHORS
  2. +1 −1 novaclient/v1_1/keypairs.py
View
@@ -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 \

0 comments on commit c135cf8

Please sign in to comment.