summaryrefslogtreecommitdiffstats
path: root/ipalib/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/request.py')
-rw-r--r--ipalib/request.py4
1 files changed, 2 insertions, 2 deletions
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]