Skip to content

Commit 3c8d2ab

Browse files
author
Alexander Smishlajev
committed
pass TRACKER_HOME in the defaults dictionary
1 parent ee3c56e commit 3c8d2ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Roundup Issue Tracker configuration support
22
#
3-
# $Id: configuration.py,v 1.8 2004-07-26 00:23:16 richard Exp $
3+
# $Id: configuration.py,v 1.9 2004-07-26 05:59:45 a1s Exp $
44
#
55
__docformat__ = "restructuredtext"
66

@@ -637,7 +637,7 @@ def load(self, tracker_home):
637637
def load_ini(self, tracker_home):
638638
"""Set options from config.ini file in given tracker_home directory"""
639639
# parse the file
640-
_config = ConfigParser.ConfigParser()
640+
_config = ConfigParser.ConfigParser({"TRACKER_HOME": tracker_home})
641641
_config.read([os.path.join(tracker_home, self.INI_FILE)])
642642
# .ini file loaded ok. set the options, starting from TRACKER_HOME
643643
self.reset()

0 commit comments

Comments
 (0)