Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed [105] to match our code standards

git-svn-id: http://code.djangoproject.com/svn/django/trunk@106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 90494777388b53e124c1cc2d00202affae786117 1 parent f69ce6c
@jacobian jacobian authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/conf/settings.py
View
4 django/conf/settings.py
@@ -22,12 +22,12 @@
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():
Please sign in to comment.
Something went wrong with that request. Please try again.