[NEW PATCH] BZ#732933: vdsClient - getFloppyList returns with KeyError (via gerrit-bot)

Haim Ateya hateya at redhat.com
Wed Aug 24 11:01:14 UTC 2011


New patch submitted by Haim Ateya (hateya at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/850

commit d133bc61fd55e0c3352f51370f70328aec04e605
Author: Haim Ateya <hateya at redhat.com>
Date:   Wed Aug 24 14:02:28 2011 +0300

    BZ#732933: vdsClient - getFloppyList returns with KeyError
    
    Change-Id: I209fbd90f7eeaa09e5e29699c7c4bc7d3aa6534d

diff --git a/vdsm_cli/vdsClient.py b/vdsm_cli/vdsClient.py
index 8f2dc5a..f209e7c 100755
--- a/vdsm_cli/vdsClient.py
+++ b/vdsm_cli/vdsClient.py
@@ -1005,7 +1005,7 @@ class service:
         list = self.s.getFloppyList(spUUID)
         if list['status']['code']:
             return list['status']['code'], list['status']['message']
-        for entry in list['floppylist']:
+        for entry in list['isolist']:
             print entry
         return 0, ''
 




More information about the vdsm-patches mailing list