Browse files

Got runserver auto-reloading working again by removing what appeared …

…to be debugging code in django.core.management.base. Refs #5369

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2554ea3 commit 2cf419d9ed1d9ed188413df5113161486ca8f746 @adrianholovaty adrianholovaty committed Sep 11, 2007
Showing with 1 addition and 6 deletions.
  1. +1 −6 django/core/management/base.py
View
7 django/core/management/base.py
@@ -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 @@ def run_from_argv(self, argv):
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

0 comments on commit 2cf419d

Please sign in to comment.