Author: adrian
Date: 2007-09-10 23:37:23 -0500 (Mon, 10 Sep 2007)
New Revision: 6094
Modified:
django/trunk/django/core/management/base.py
Log:
Got runserver auto-reloading working again by removing what appeared to be
debugging code in django.core.management.base. Refs #5369
Modified: django/trunk/django/core/management/base.py
===================================================================
--- django/trunk/django/core/management/base.py 2007-09-11 04:27:06 UTC (rev
6093)
+++ django/trunk/django/core/management/base.py 2007-09-11 04:37:23 UTC (rev
6094)
@@ -5,7 +5,6 @@
from optparse import make_option, OptionParser
import sys
import os
-from traceback import print_exc
class CommandError(Exception):
pass
@@ -60,11 +59,7 @@
os.environ['DJANGO_SETTINGS_MODULE'] = options.settings
if options.pythonpath:
sys.path.insert(0, options.pythonpath)
- try:
- self.execute(*args, **options.__dict__)
- except Exception, e:
- print_exc()
- parser.print_usage()
+ self.execute(*args, **options.__dict__)
def execute(self, *args, **options):
# Switch to English, because django-admin.py creates database content
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---