Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DC82179EB for ; Fri, 22 May 2015 17:03:20 +0000 (UTC) Received: (qmail 99638 invoked by uid 500); 22 May 2015 17:03:20 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 99558 invoked by uid 500); 22 May 2015 17:03:20 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 99539 invoked by uid 99); 22 May 2015 17:03:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2015 17:03:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DC5E5DFDE9; Fri, 22 May 2015 17:03:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Date: Fri, 22 May 2015 17:03:21 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [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 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 Authored: Fri May 22 16:00:43 2015 +0200 Committer: Rohit Yadav 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]