Mercurial > p > roundup > code
diff roundup/instance.py @ 3774:46e3d5d0901d
... ooops ...
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Fri, 01 Dec 2006 10:38:40 +0000 |
| parents | 21ff756e4549 |
| children | 74aebbbea305 |
line wrap: on
line diff
--- a/roundup/instance.py Fri Dec 01 10:31:58 2006 +0000 +++ b/roundup/instance.py Fri Dec 01 10:38:40 2006 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: instance.py,v 1.35 2006-12-01 10:31:58 schlatterbeck Exp $ +# $Id: instance.py,v 1.36 2006-12-01 10:38:40 schlatterbeck Exp $ '''Tracker handling (open tracker). @@ -53,7 +53,7 @@ self.templates = templating.Templates(self.config["TEMPLATES"]) self.backend = backends.get_backend(self.get_backend_name()) if self.optimize: - libdir = os.path.join(tracker_home, 'lib') + libdir = os.path.join(self.tracker_home, 'lib') if os.path.isdir(libdir): sys.path.insert(1, libdir) self.templates.precompileTemplates() @@ -107,7 +107,7 @@ # use preloaded detectors detectors = self.detectors else: - libdir = os.path.join(tracker_home, 'lib') + libdir = os.path.join(self.tracker_home, 'lib') if os.path.isdir(libdir): sys.path.insert(1, libdir) # execute the schema file
