summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--module/common/pylgettext.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/README b/README
index b0defe839..7f3c4f4c8 100644
--- a/README
+++ b/README
@@ -30,7 +30,7 @@ Required
- jinja2
- beaker
- thrift
-- simplejson (for python <= 2.6)
+- simplejson (for python 2.5)
Some plugins require additional packages, only install these when needed.
diff --git a/module/common/pylgettext.py b/module/common/pylgettext.py
index ae6d39325..fb36fecee 100644
--- a/module/common/pylgettext.py
+++ b/module/common/pylgettext.py
@@ -58,5 +58,4 @@ def find(domain, localedir=None, languages=None, all=False):
return results
#Is there a smarter/cleaner pythonic way for this?
-translation.__globals__['find'] = find
-
+translation.func_globals['find'] = find