[Python-modules-team] Bug#574640: patch
Piotr Ożarowski
piotr at debian.org
Fri Mar 19 18:46:43 UTC 2010
tags 574640 + patch
thanks
# Routes >= 1.12 disables minimization by default, this patch enabled it in
# TurboGears (since TG depends on this functionality)
Index: turbogears2-2.0.3/tg/configuration.py
===================================================================
--- turbogears2-2.0.3.orig/tg/configuration.py
+++ turbogears2-2.0.3/tg/configuration.py
@@ -211,6 +211,7 @@ class AppConfig(Bunch):
map = Mapper(directory=config['pylons.paths']['controllers'],
always_scan=config['debug'])
+ map.minimization = True
# Setup a default route for the root of object dispatch
map.connect('*url', controller='root', action='routes_placeholder')
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100319/8a7fa0ed/attachment.pgp>
More information about the Python-modules-team
mailing list