fix syntax error
This commit is contained in:
parent
18e88ae244
commit
66ba8f89c1
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class ConsoleApplication(BaseApplication):
|
|||
if defaults:
|
||||
nb_args -= len(defaults)
|
||||
|
||||
if len(args) < nb_args or len(args) > nb_args and not varargs
|
||||
if len(args) < nb_args or len(args) > nb_args and not varargs:
|
||||
if varargs:
|
||||
sys.stderr.write("Command '%s' takes at least %d arguments.\n" % (command, nb_args))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue