Yeela Kaplan has uploaded a new change for review.

Change subject: caps: fix unpacking of list
......................................................................

caps: fix unpacking of list

getVdsCapabilities fails with 'too many values to unpack'

Change-Id: I20d4b8b6e3147a29aebcbc7a68b9c92d23aa4307
Signed-off-by: Yeela Kaplan <[email protected]>
---
M vdsm/caps.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/21/46321/1

diff --git a/vdsm/caps.py b/vdsm/caps.py
index 94b7c34..17feecd 100644
--- a/vdsm/caps.py
+++ b/vdsm/caps.py
@@ -98,7 +98,7 @@
                           not port.startswith('vnet')]
             if not host_ports:  # Port-less bridge
                 continue
-            iface, = host_ports
+            iface = host_ports[0]
         if iface in caps['vlans']:
             vlan_id = caps['vlans'][iface]['vlanid']
             iface = caps['vlans'][iface]['iface']


-- 
To view, visit https://gerrit.ovirt.org/46321
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20d4b8b6e3147a29aebcbc7a68b9c92d23aa4307
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to