You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/05/22 19:03:21 UTC

[3/3] cloudstack-cloudmonkey git commit: FIX split for paramter=value where value could be anything. An example case where value can contain the "=" sign: registerSSHKeyPair (publickey)

FIX split for paramter=value where value could be anything. An example case where value can contain the "=" sign: registerSSHKeyPair (publickey)

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/commit/830858a3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/830858a3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/830858a3

Branch: refs/heads/master
Commit: 830858a35a11f62bddbae4fda1c0f1b5c389caed
Parents: a78a0d2
Author: Nuno Tavares <n....@tech.leaseweb.com>
Authored: Fri May 22 16:00:43 2015 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Fri May 22 18:01:33 2015 +0100

----------------------------------------------------------------------
 cloudmonkey/cloudmonkey.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/830858a3/cloudmonkey/cloudmonkey.py
----------------------------------------------------------------------
diff --git a/cloudmonkey/cloudmonkey.py b/cloudmonkey/cloudmonkey.py
index b8b4e77..a305c36 100644
--- a/cloudmonkey/cloudmonkey.py
+++ b/cloudmonkey/cloudmonkey.py
@@ -799,7 +799,7 @@ def main():
         shell.set_attr("color", "false")
         commands = []
         for command in args.commands:
-            split_command = command.split("=")
+            split_command = command.split("=", 1)
             if len(split_command) > 1:
                 key = split_command[0]
                 value = split_command[1]