app/django/bin/make-messages.py
author David Anderson <david.jc.anderson@gmail.com>
Fri, 13 Mar 2009 18:14:44 +0000
changeset 1833 9df2e9a67081
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Add a decolorize() helper to undo the effects of colorize().

#!/usr/bin/env python

if __name__ == "__main__":
    import sys
    name = sys.argv[0]
    args = ' '.join(sys.argv[1:])
    print >> sys.stderr, "%s has been moved into django-admin.py" % name
    print >> sys.stderr, 'Please run "django-admin.py makemessages %s" instead.'% args
    print >> sys.stderr
    sys.exit(1)