From 6b055b435f93bf9b63ee9b3b2fdd6f082dacc07b Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 22 Dec 2008 17:29:11 -0700 Subject: Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit tests --- ipalib/request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/request.py') diff --git a/ipalib/request.py b/ipalib/request.py index 545ebc540..ea028239c 100644 --- a/ipalib/request.py +++ b/ipalib/request.py @@ -34,8 +34,8 @@ context = threading.local() def set_languages(*languages): if hasattr(context, 'languages'): - raise StandardError( - OVERRIDE_ERROR % ('context.languages', context.languages, languages) + raise StandardError(OVERRIDE_ERROR % + ('context', 'languages', context.languages, languages) ) if len(languages) == 0: languages = locale.getdefaultlocale()[:1] -- cgit