summaryrefslogtreecommitdiffstats
path: root/module/common/pylgettext.py
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 /module/common/pylgettext.py
parentMerge (diff)
downloadpyload-e6cd539a4d05cadd9dca91142b3d28f56a7581f4.tar.xz
closed #450
Diffstat (limited to 'module/common/pylgettext.py')
-rw-r--r--module/common/pylgettext.py3
1 files changed, 1 insertions, 2 deletions
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