cli: strip args else this fails on parsing

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-11-05 21:58:16 +05:30
parent 64907c1da4
commit c10eeb6036
1 changed files with 1 additions and 1 deletions

View File

@ -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: