From 888b154e9b22f7ecab49376b608e1028462b1891 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Mon, 2 Mar 2009 08:26:07 +0000 Subject: [PATCH] [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 --- django/conf/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():