summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-08 16:38:06 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-08 16:38:06 +0100
commite6cd539a4d05cadd9dca91142b3d28f56a7581f4 (patch)
tree715624cdea41a917fe708da94aa1ec99234554b1
parentMerge (diff)
downloadpyload-e6cd539a4d05cadd9dca91142b3d28f56a7581f4.tar.xz
closed #450
-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