deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [3/8] git commit: Python client: fix instances listing
Date Tue, 21 Aug 2012 11:41:45 GMT
Python client: fix instances listing

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/0e44bdb1
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/0e44bdb1
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/0e44bdb1

Branch: refs/heads/master
Commit: 0e44bdb1dae77b8e9afa323af0bede0bc1aaf929
Parents: 06de824
Author: Tomas Sedovic <tomas@sedovic.cz>
Authored: Wed Aug 8 15:03:43 2012 +0200
Committer: Tomas Sedovic <tomas@sedovic.cz>
Committed: Tue Aug 21 12:06:56 2012 +0200

----------------------------------------------------------------------
 clients/python/deltacloud.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/0e44bdb1/clients/python/deltacloud.py
----------------------------------------------------------------------
diff --git a/clients/python/deltacloud.py b/clients/python/deltacloud.py
index 08684fa..d2b58df 100644
--- a/clients/python/deltacloud.py
+++ b/clients/python/deltacloud.py
@@ -136,7 +136,7 @@ class Instance(Deltacloud):
             self.username = password_auth[0].xpathEval('username')[0].content
             self.password = password_auth[0].xpathEval('password')[0].content
         if key_auth:
-            self.key_name = key_auth[0].xpathEval('keyname').content
+            self.key_name = key_auth[0].xpathEval('keyname')[0].content
 
     def start(self):
         action = self.instance.xpathEval("actions/link[@rel='start']")


Mime
View raw message