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:
|
if args[0] in actions:
|
||||||
try:
|
try:
|
||||||
self.__getattribute__(args[0])(args[1:])
|
self.__getattribute__(args[0])(args[1:])
|
||||||
except KeyError:
|
except KeyError as exc:
|
||||||
raise CommandArgumentError(command=args[0], line=lineno)
|
raise CommandArgumentError(command=args[0],
|
||||||
|
line=lineno) from exc
|
||||||
else:
|
else:
|
||||||
raise UnrecognizedCommandError(command=args[0], line=lineno)
|
raise UnrecognizedCommandError(command=args[0], line=lineno)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user