app/django/bin/make-messages.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sat, 24 Jan 2009 12:54:59 +0000
changeset 959 b6e8750c9407
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Some style guide fixes, docstring fixes and removal of unused imports in different modules. Rename acceptInvite view variable to accept_invite in soc.views.models.host module to comply to our style guide. Patch by: Pawel Solyga Review by: to-be-reviewed

#!/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)