Skip to content
Permalink
Browse files

avoid the help to be displayed twice for a command magic

  • Loading branch information...
sdpython committed Mar 1, 2015
1 parent b17e0d2 commit 53e15cf6ff796c2b6b57e08ca176b06ed3a87a4d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pyquickhelper/ipythonhelper/magic_class.py
@@ -98,7 +98,7 @@ def custom_magic_command(self, line):
try:
args = parser.parse_cmd(line, context=self.Context)
except SystemExit:
print_function(parser.print_help())
print_function(parser.format_usage())
args = None

return args

0 comments on commit 53e15cf

Please sign in to comment.
You can’t perform that action at this time.