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 2012/11/05 17:29:19 UTC

[6/7] git commit: cli: strip args else this fails on parsing

cli: strip args else this fails on parsing

Signed-off-by: Rohit Yadav <bh...@apache.org>


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

Branch: refs/heads/master
Commit: c10eeb60362ccc902105fa275b5d20b95d3108df
Parents: 64907c1
Author: Rohit Yadav <bh...@apache.org>
Authored: Mon Nov 5 21:58:16 2012 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Mon Nov 5 21:59:03 2012 +0530

----------------------------------------------------------------------
 tools/cli/cloudmonkey/cloudmonkey.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c10eeb60/tools/cli/cloudmonkey/cloudmonkey.py
----------------------------------------------------------------------
diff --git a/tools/cli/cloudmonkey/cloudmonkey.py b/tools/cli/cloudmonkey/cloudmonkey.py
index 3e09cb7..6e08adf 100644
--- a/tools/cli/cloudmonkey/cloudmonkey.py
+++ b/tools/cli/cloudmonkey/cloudmonkey.py
@@ -230,7 +230,7 @@ class CloudStackShell(cmd.Cmd):
         return api_mod
 
     def default(self, args):
-        args = args.split(" ")
+        args = args.strip().split(" ")
         api_name = args[0]
 
         try: