From 2cf419d9ed1d9ed188413df5113161486ca8f746 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 11 Sep 2007 04:37:23 +0000 Subject: [PATCH] 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 --- django/core/management/base.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/django/core/management/base.py b/django/core/management/base.py index f29e223fa5..83b0ed05cd 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -5,7 +5,6 @@ import itertools from optparse import make_option, OptionParser import sys import os -from traceback import print_exc class CommandError(Exception): pass @@ -60,11 +59,7 @@ class BaseCommand(object): 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