Changed [105] to match our code standards

git-svn-id: http://code.djangoproject.com/svn/django/trunk@106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2005-07-16 16:10:04 +00:00
parent f69ce6c2b3
commit 9049477738
1 changed files with 2 additions and 2 deletions

View File

@ -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():