Closed simleo closed 5 years ago
The logic introduced in #285 incorrectly swallows any AttributeError occurring in the code run by args.func. Replace with:
AttributeError
args.func
try: func = args.func except AttributeError: parser.error("too few arguments") try: func(args, unknown) except RuntimeError as e: ...
The logic introduced in #285 incorrectly swallows any
AttributeError
occurring in the code run byargs.func
. Replace with: