comparison roundup/instance.py @ 4721:ec359e7c6c95

Rename templating.get_templates to get_loader
author anatoly techtonik <techtonik@gmail.com>
date Sun, 06 Jan 2013 16:39:21 +0300
parents fd72576e07ed
children f7e68ae4926c
comparison
equal deleted inserted replaced
4720:fd72576e07ed 4721:ec359e7c6c95
59 59
60 libdir = os.path.join(self.tracker_home, 'lib') 60 libdir = os.path.join(self.tracker_home, 'lib')
61 self.libdir = os.path.isdir(libdir) and libdir or '' 61 self.libdir = os.path.isdir(libdir) and libdir or ''
62 62
63 self.load_interfaces() 63 self.load_interfaces()
64 self.templates = templating.get_templates(self.config["TEMPLATES"], 64 self.templates = templating.get_loader(self.config["TEMPLATES"],
65 self.config["TEMPLATE_ENGINE"]) 65 self.config["TEMPLATE_ENGINE"])
66 self.backend = backends.get_backend(self.get_backend_name()) 66 self.backend = backends.get_backend(self.get_backend_name())
67 67
68 if self.optimize: 68 if self.optimize:
69 self.templates.precompileTemplates() 69 self.templates.precompileTemplates()

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