Ticket #120: fix_print_error.diff
File fix_print_error.diff, 443 bytes (added by , 19 years ago) |
---|
-
django/bin/django-admin.py
40 40 self.print_help(sys.stderr) 41 41 sys.exit(1) 42 42 43 def print_error(msg, cmd): 43 def print_error(msg): 44 cmd = sys.argv[0] 44 45 sys.stderr.write("Error: %s\nRun %s --help for help." % (msg, cmd)) 45 46 sys.exit(1) 46 47