From c135cf8ef69cd704d709556d3ab108bf3562843f Mon Sep 17 00:00:00 2001 From: Jay Pipes Date: Sat, 28 Apr 2012 14:27:08 -0400 Subject: [PATCH] Fix LP #990667 - Keypair __repr__ referencesuuid Replaces reference to non-existant uuid property with existant id property in Keypair.__repr__ Change-Id: I3aab0dce2c1f0f3cb5160e54a00a96b02f600854 --- AUTHORS | 1 + novaclient/v1_1/keypairs.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 2e40fe8dd..de855ed28 100644 --- a/AUTHORS +++ b/AUTHORS @@ -27,6 +27,7 @@ Jake Dahn James E. Blair Jason Kölker Jason Straw +Jay Pipes Jesse Andrews Johannes Erdfelt John Garbutt diff --git a/novaclient/v1_1/keypairs.py b/novaclient/v1_1/keypairs.py index d840be376..bb31e8657 100644 --- a/novaclient/v1_1/keypairs.py +++ b/novaclient/v1_1/keypairs.py @@ -26,7 +26,7 @@ class Keypair(base.Resource): """ def __repr__(self): - return "" % self.uuid + return "" % self.id def _add_details(self, info): dico = 'keypair' in info and \