Actually do the right check for further args

This commit is contained in:
Roland Geider 2013-01-23 21:24:02 +01:00
parent 3bfead298d
commit bebaadf850

View File

@ -108,7 +108,7 @@ def process_options(argv=None, check_args=True):
# Don't check for further args if we come from our custom management
# command, that always sets them
if args and not check_args:
if args and check_args:
sys.stderr.write("This command does not take arguments!\n\n")
parser.print_help()