diff options
author | Wookey <wookey@wookware.org> | 2011-07-11 02:10:22 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2011-07-11 02:10:22 +0100 |
commit | dc1327674c2676db02ccf525725019cd9115b699 (patch) | |
tree | 8b3a151a8512576ccfb6bb6578fe124c033c46c0 /manage.py | |
parent | c8ff8e3ef60c6eba0071e20664268c790c6a6aa6 (diff) | |
download | troggle-dc1327674c2676db02ccf525725019cd9115b699.tar.gz troggle-dc1327674c2676db02ccf525725019cd9115b699.tar.bz2 troggle-dc1327674c2676db02ccf525725019cd9115b699.zip |
remove all the DOS linefeeds
Diffstat (limited to 'manage.py')
-rw-r--r-- | manage.py | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,11 +1,11 @@ -#!/usr/bin/env python
-from django.core.management import execute_manager
-try:
- import settings # Assumed to be in the same directory.
-except ImportError:
- import sys
- sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
- sys.exit(1)
-
-if __name__ == "__main__":
- execute_manager(settings)
+#!/usr/bin/env python +from django.core.management import execute_manager +try: + import settings # Assumed to be in the same directory. +except ImportError: + import sys + sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) + sys.exit(1) + +if __name__ == "__main__": + execute_manager(settings) |