Skip to content

Commit 41230e8

Browse files
committed
Restore compatibility with an old style trackers (not sure if
they work at all).
1 parent 8ecc782 commit 41230e8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Features:
1515

1616
Fixed:
1717

18+
- Restored compatibility with old style trackers (anatoly techtonik)
1819
- Make roundup play nice with setup tools (for using with virtualenv)
1920
(Pradip Caulagi)
2021
- [minor] Template responsive: make demo.py work out of the box with it,

roundup/instance.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,7 @@ def open(self, tracker_home, optimize=0):
288288
tracker.dbinit.config = tracker.config
289289

290290
tracker.optimize = optimize
291-
# [ ] this path doesn't seem to work anymore in 1.4.21
292-
# check and cleanup, also fix the docs
293-
tracker.templates = templating.Templates(tracker.config["TEMPLATES"])
291+
tracker.templates = templating.get_loader(tracker.config["TEMPLATES"])
294292
if optimize:
295293
tracker.templates.precompileTemplates()
296294

0 commit comments

Comments
 (0)