summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>2014-03-14 22:10:39 +0100
committerChristophe Vu-Brugier <cvubrugier@yahoo.fr>2014-03-14 22:12:27 +0100
commit988aee96f4519ce3c0e9ae4edd7095381d7a76fa (patch)
treeb61239819cb851cf501f1b61676e811271901268
parenta9ec7334727b53646c2f03be327fa8a881213eeb (diff)
downloadconfigshell-fb-988aee96f4519ce3c0e9ae4edd7095381d7a76fa.tar.gz
Fix exception raised when 'help' is invoked
Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
-rw-r--r--configshell/node.py2
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)