mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 08:50:51 +00:00
pylint
This commit is contained in:
@@ -168,8 +168,9 @@ they appear in the batchfile.
|
||||
if args[0] in actions:
|
||||
try:
|
||||
self.__getattribute__(args[0])(args[1:])
|
||||
except KeyError:
|
||||
raise CommandArgumentError(command=args[0], line=lineno)
|
||||
except KeyError as exc:
|
||||
raise CommandArgumentError(command=args[0],
|
||||
line=lineno) from exc
|
||||
else:
|
||||
raise UnrecognizedCommandError(command=args[0], line=lineno)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user