diff options
| author | kotfu <kotfu@kotfu.net> | 2018-01-07 13:57:09 -0700 |
|---|---|---|
| committer | kotfu <kotfu@kotfu.net> | 2018-01-07 13:57:09 -0700 |
| commit | 49bf448d2f5833a6a8710a92ed7a6cf6228f6c0e (patch) | |
| tree | 1048d93043779dc98fdfb869878abedf36024df9 /cmd2.py | |
| parent | 2830bf3132422d71b06fa3b54ad6e18ddf5bc486 (diff) | |
| download | cmd2-git-49bf448d2f5833a6a8710a92ed7a6cf6228f6c0e.tar.gz | |
Remove leftover debugging code
Diffstat (limited to 'cmd2.py')
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -249,7 +249,6 @@ def with_argument_parser(argparser): """ def arg_decorator(func): def cmd_wrapper(instance, arg): - print("before command") # Use shlex to split the command line into a list of arguments based on shell rules lexed_arglist = shlex.split(arg, posix=POSIX_SHLEX) # If not using POSIX shlex, make sure to strip off outer quotes for convenience @@ -261,7 +260,6 @@ def with_argument_parser(argparser): opts = argparser.parse_args(lexed_arglist) func(instance, arg, opts) - print("after command") return cmd_wrapper return arg_decorator |
