Ticket #120: fix_print_error.diff

File fix_print_error.diff, 443 bytes (added by philippe.normand@…, 19 years ago)

the so called patch ;)

  • django/bin/django-admin.py

     
    4040        self.print_help(sys.stderr)
    4141        sys.exit(1)
    4242
    43 def print_error(msg, cmd):
     43def print_error(msg):
     44    cmd = sys.argv[0]
    4445    sys.stderr.write("Error: %s\nRun %s --help for help." % (msg, cmd))
    4546    sys.exit(1)
    4647
Back to Top