Repository: cloudstack Updated Branches: refs/heads/4.5 a4b92e908 -> 6c955a3a4
CLOUDSTACK-7887: change int to str into swiftxen Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6c955a3a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6c955a3a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6c955a3a Branch: refs/heads/4.5 Commit: 6c955a3a472da1308a5336a48b29514b78c543e4 Parents: a4b92e9 Author: Pierre-Luc Dion <[email protected]> Authored: Wed Nov 12 19:18:37 2014 -0500 Committer: Pierre-Luc Dion <[email protected]> Committed: Wed Nov 12 19:22:13 2014 -0500 ---------------------------------------------------------------------- scripts/vm/hypervisor/xenserver/swiftxen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6c955a3a/scripts/vm/hypervisor/xenserver/swiftxen ---------------------------------------------------------------------- diff --git a/scripts/vm/hypervisor/xenserver/swiftxen b/scripts/vm/hypervisor/xenserver/swiftxen index 8342238..f56d5ad 100644 --- a/scripts/vm/hypervisor/xenserver/swiftxen +++ b/scripts/vm/hypervisor/xenserver/swiftxen @@ -69,7 +69,7 @@ def upload(args): if size > MAX_SEG_SIZE : segment = 1 if segment : - cmd = [SWIFT, "-A", url, "-U", account + ":" + username, "-K", key, "upload", "-S", MAX_SEG_SIZE, container, lfilename] + cmd = [SWIFT, "-A", url, "-U", account + ":" + username, "-K", key, "upload", "-S", str(MAX_SEG_SIZE), container, lfilename] else : cmd = [SWIFT, "-A", url ,"-U", account + ":" + username, "-K", key, "upload", container, lfilename] util.pread2(cmd)
