From e6cd539a4d05cadd9dca91142b3d28f56a7581f4 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 8 Dec 2011 16:38:06 +0100 Subject: closed #450 --- README | 2 +- module/common/pylgettext.py | 3 +-- 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 -- cgit v1.2.3