summaryrefslogtreecommitdiffstats
path: root/webapp/django/bin/make-messages.py
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit38966837f9f0b331b3cafa3dccb8b41f8c42c671 (patch)
treeff79845ba8f053cc0e57ee2020acd5957cc2022e /webapp/django/bin/make-messages.py
Initial Contributionv1.0
Diffstat (limited to 'webapp/django/bin/make-messages.py')
-rwxr-xr-xwebapp/django/bin/make-messages.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/webapp/django/bin/make-messages.py b/webapp/django/bin/make-messages.py
new file mode 100755
index 0000000000..1c84416423
--- /dev/null
+++ b/webapp/django/bin/make-messages.py
@@ -0,0 +1,11 @@
+#!/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)
+