comparison 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
comparison
equal deleted inserted replaced
4721:ec359e7c6c95 4722:f7e68ae4926c
286 # load and apply the config 286 # load and apply the config
287 tracker.config = configuration.CoreConfig(tracker_home) 287 tracker.config = configuration.CoreConfig(tracker_home)
288 tracker.dbinit.config = tracker.config 288 tracker.dbinit.config = tracker.config
289 289
290 tracker.optimize = optimize 290 tracker.optimize = optimize
291 # [ ] this path doesn't seem to work anymore in 1.4.21 291 tracker.templates = templating.get_loader(tracker.config["TEMPLATES"])
292 # check and cleanup, also fix the docs
293 tracker.templates = templating.Templates(tracker.config["TEMPLATES"])
294 if optimize: 292 if optimize:
295 tracker.templates.precompileTemplates() 293 tracker.templates.precompileTemplates()
296 294
297 return tracker 295 return tracker
298 296

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