diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-03-02 08:26:07 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-03-02 08:26:07 +0000 |
| commit | 888b154e9b22f7ecab49376b608e1028462b1891 (patch) | |
| tree | f75533bc3c7d60d14eaabcf467fdcbeb7f51448a | |
| parent | 1a5588fcebbd0b5689773eb27b9a648d8cfb2aba (diff) | |
[1.0.X] Fixed #10392 -- Fixed an oversight from the refactoring in r9947.
Backport of r9953 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/conf/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/conf/__init__.py b/django/conf/__init__.py index 81787d63d5..425425bc5f 100644 --- a/django/conf/__init__.py +++ b/django/conf/__init__.py @@ -43,7 +43,7 @@ class LazySettings(LazyObject): parameter sets where to retrieve any unspecified values from (its argument must support attribute access (__getattr__)). """ - if self._target != None: + if self._wrapped != None: raise RuntimeError, 'Settings already configured.' holder = UserSettingsHolder(default_settings) for name, value in options.items(): |
