diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-08 16:38:06 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-08 16:38:06 +0100 |
commit | e6cd539a4d05cadd9dca91142b3d28f56a7581f4 (patch) | |
tree | 715624cdea41a917fe708da94aa1ec99234554b1 | |
parent | Merge (diff) | |
download | pyload-e6cd539a4d05cadd9dca91142b3d28f56a7581f4.tar.xz |
closed #450
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | module/common/pylgettext.py | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -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 |