diff options
author | Andy Grover <agrover@redhat.com> | 2014-03-14 15:09:36 -0700 |
---|---|---|
committer | Andy Grover <agrover@redhat.com> | 2014-03-14 15:09:36 -0700 |
commit | fb0bd63e02d6e2edab944141898f44ca84dc2bff (patch) | |
tree | b61239819cb851cf501f1b61676e811271901268 | |
parent | a9ec7334727b53646c2f03be327fa8a881213eeb (diff) | |
parent | 988aee96f4519ce3c0e9ae4edd7095381d7a76fa (diff) | |
download | configshell-fb-fb0bd63e02d6e2edab944141898f44ca84dc2bff.tar.gz |
Merge pull request #11 from cvubrugier/master
Fix exception raised when 'help' is invoked
-rw-r--r-- | configshell/node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/node.py b/configshell/node.py index 38922a4..2b35daa 100644 --- a/configshell/node.py +++ b/configshell/node.py @@ -1133,7 +1133,7 @@ class ConfigNode(object): for command in commands: msg += " - %s\n" % self.get_command_syntax(command)[0] self.shell.con.epy_write(msg) - + return elif topic not in commands: raise ExecutionError("Cannot find help topic %s." % topic) |