Skip to content

Commit 3408a87

Browse files
author
Ralf Schlatterbeck
committed
... ooops ...
1 parent ec63b7e commit 3408a87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roundup/instance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: instance.py,v 1.35 2006-12-01 10:31:58 schlatterbeck Exp $
18+
# $Id: instance.py,v 1.36 2006-12-01 10:38:40 schlatterbeck Exp $
1919

2020
'''Tracker handling (open tracker).
2121
@@ -53,7 +53,7 @@ def __init__(self, tracker_home, optimize=0):
5353
self.templates = templating.Templates(self.config["TEMPLATES"])
5454
self.backend = backends.get_backend(self.get_backend_name())
5555
if self.optimize:
56-
libdir = os.path.join(tracker_home, 'lib')
56+
libdir = os.path.join(self.tracker_home, 'lib')
5757
if os.path.isdir(libdir):
5858
sys.path.insert(1, libdir)
5959
self.templates.precompileTemplates()
@@ -107,7 +107,7 @@ def open(self, name=None):
107107
# use preloaded detectors
108108
detectors = self.detectors
109109
else:
110-
libdir = os.path.join(tracker_home, 'lib')
110+
libdir = os.path.join(self.tracker_home, 'lib')
111111
if os.path.isdir(libdir):
112112
sys.path.insert(1, libdir)
113113
# execute the schema file

0 commit comments

Comments
 (0)