From 90494777388b53e124c1cc2d00202affae786117 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Sat, 16 Jul 2005 16:10:04 +0000 Subject: [PATCH] Changed [105] to match our code standards git-svn-id: http://code.djangoproject.com/svn/django/trunk@106 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/conf/settings.py b/django/conf/settings.py index 2e715696f7..ef7360438a 100644 --- a/django/conf/settings.py +++ b/django/conf/settings.py @@ -22,12 +22,12 @@ for setting in dir(global_settings): try: me.SETTINGS_MODULE = os.environ["DJANGO_SETTINGS_MODULE"] except KeyError: - raise EnvironmentError("Environemnt variable DJANGO_SETTINGS_MODULE is undefined." + raise EnvironmentError, "Environemnt variable DJANGO_SETTINGS_MODULE is undefined." try: mod = __import__(me.SETTINGS_MODULE, '', '', ['']) except ImportError, e: - raise EnvironmentError("Could not import DJANGO_SETTINGS_MODULE '%s' (is it on sys.path?): %s" % (me.SETTINGS_MODULE, e) + raise EnvironmentError, "Could not import DJANGO_SETTINGS_MODULE '%s' (is it on sys.path?): %s" % (me.SETTINGS_MODULE, e) for setting in dir(mod): if setting == setting.upper():