Commit 16423caa authored by Vincent Pelletier's avatar Vincent Pelletier

Command start at arg list begining, command name is aready stripped by caller.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@820 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a71ac47a
...@@ -186,7 +186,7 @@ class Application(object): ...@@ -186,7 +186,7 @@ class Application(object):
# and modify the partition if asked # and modify the partition if asked
# set cluster name [shutdown|operational] : either shutdown the cluster or mark it as operational # set cluster name [shutdown|operational] : either shutdown the cluster or mark it as operational
current_action = action_dict current_action = action_dict
level = 1 level = 0
while current_action is not None and \ while current_action is not None and \
level < len(args) and \ level < len(args) and \
isinstance(current_action, dict): isinstance(current_action, dict):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment