Fix weird 'no such command' message
This commit is contained in:
parent
aa88125710
commit
24cdd88415
1
TODO
1
TODO
@ -10,7 +10,6 @@ All kind of FIXMEs
|
||||
Weird font rendering
|
||||
https://bugreports.qt-project.org/browse/QTBUG-20973
|
||||
https://bugreports.qt-project.org/browse/QTBUG-21036
|
||||
Weird "no such command" message
|
||||
|
||||
Major features
|
||||
==============
|
||||
|
@ -144,7 +144,7 @@ class CommandParser:
|
||||
try:
|
||||
cmd = cmdutils.cmd_dict[cmdstr]
|
||||
except KeyError:
|
||||
raise NoSuchCommandError("Command {} not found.".format(cmdstr))
|
||||
raise NoSuchCommandError(cmdstr)
|
||||
|
||||
if len(parts) == 1:
|
||||
args = []
|
||||
|
Loading…
Reference in New Issue
Block a user