Federico Simoncelli has uploaded a new change for review.

Change subject: qemuimg: create size should be a string
......................................................................

qemuimg: create size should be a string

execCmd requires the command list items to be strings.

Change-Id: I2173165363f3f75485226671eeef7b2a3a3cc1e2
Signed-off-by: Federico Simoncelli <[email protected]>
---
M lib/vdsm/qemuimg.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/68/26868/1

diff --git a/lib/vdsm/qemuimg.py b/lib/vdsm/qemuimg.py
index 2124281..69912d9 100644
--- a/lib/vdsm/qemuimg.py
+++ b/lib/vdsm/qemuimg.py
@@ -103,7 +103,7 @@
     cmd.append(image)
 
     if size:
-        cmd.append(int(size))
+        cmd.append(str(size))
 
     rc, out, err = utils.execCmd(cmd)
 


-- 
To view, visit http://gerrit.ovirt.org/26868
To unsubscribe, visit http://gerrit.ovirt.org/settings

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

Reply via email to