Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0

Snudde et ulikhetstegn.

This commit is contained in:
Øystein Ingmar Skartsæterhagen 2011-03-05 21:53:40 +00:00
parent 76fcb16adf
commit bc1ba7e631
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ def check_command_args(args, command):
if len(args) < min_num_args: if len(args) < min_num_args:
raise BadCommandLine('Too few arguments for command %s (expects at least %d, %d given).' raise BadCommandLine('Too few arguments for command %s (expects at least %d, %d given).'
% (command, min_num_args, len(args))) % (command, min_num_args, len(args)))
if (not unlimited) and (len(args) < max_num_args): if (not unlimited) and (len(args) > max_num_args):
raise BadCommandLine('Too many arguments for command %s (expects at most %d, %d given).' raise BadCommandLine('Too many arguments for command %s (expects at most %d, %d given).'
% (command, max_num_args, len(args))) % (command, max_num_args, len(args)))