Changeset 6943
- Timestamp:
- 12/18/07 21:31:26 (1 year ago)
- Files:
-
- django/trunk/django/conf/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/conf/__init__.py
r6832 r6943 53 53 raise KeyError 54 54 except KeyError: 55 raise ImportError, "Environment variable %s is undefined so settings cannot be imported." % ENVIRONMENT_VARIABLE # NOTE: This is arguably an EnvironmentError, but that causes problems with Python's interactive help 55 # NOTE: This is arguably an EnvironmentError, but that causes 56 # problems with Python's interactive help. 57 raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE) 56 58 57 59 self._target = Settings(settings_module)
