Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2344: tg_2.0.1_controllers.py.patch

File tg_2.0.1_controllers.py.patch, 838 bytes (added by skyleach, 3 years ago)

patch diff of controllers.py (based on tg2_2.0.1)

Line 
1Only in TurboGears2-2.0.1-py2.5.egg-orig/tg: .controllers.py.swp
2diff -crB TurboGears2-2.0.1-py2.5.egg-orig/tg/controllers.py TurboGears2-2.0.1-py2.5.egg/tg/controllers.py
3*** TurboGears2-2.0.1-py2.5.egg-orig/tg/controllers.py  Tue Jun 30 18:00:56 2009
4--- TurboGears2-2.0.1-py2.5.egg/tg/controllers.py       Tue Jun 30 18:02:20 2009
5***************
6*** 971,977 ****
7 
8 
9  # Idea stolen from Pylons
10! def pylons_formencode_gettext(value):
11      from pylons.i18n import ugettext as pylons_gettext
12      from gettext import NullTranslations
13 
14--- 971,978 ----
15 
16 
17  # Idea stolen from Pylons
18! #**kwargs added but not yet implemented to prevent conflicts with newer versions of formencode
19! def pylons_formencode_gettext(value, **kwargs):
20      from pylons.i18n import ugettext as pylons_gettext
21      from gettext import NullTranslations
22