diff roundup/instance.py @ 4722:f7e68ae4926c

Restore compatibility with an old style trackers (not sure if they work at all).
author anatoly techtonik <techtonik@gmail.com>
date Fri, 11 Jan 2013 00:46:23 +0300
parents ec359e7c6c95
children e339583eae8e
line wrap: on
line diff
--- a/roundup/instance.py	Sun Jan 06 16:39:21 2013 +0300
+++ b/roundup/instance.py	Fri Jan 11 00:46:23 2013 +0300
@@ -288,9 +288,7 @@
         tracker.dbinit.config = tracker.config
 
         tracker.optimize = optimize
-        # [ ] this path doesn't seem to work anymore in 1.4.21
-        #     check and cleanup, also fix the docs
-        tracker.templates = templating.Templates(tracker.config["TEMPLATES"])
+        tracker.templates = templating.get_loader(tracker.config["TEMPLATES"])
         if optimize:
             tracker.templates.precompileTemplates()
 

Roundup Issue Tracker: http://roundup-tracker.org/