Mercurial > p > roundup > code
diff roundup/configuration.py @ 2629:ac377478769d
pass TRACKER_HOME in the defaults dictionary
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Mon, 26 Jul 2004 05:59:45 +0000 |
| parents | ce6a965a86f4 |
| children | a65bae7af6d1 |
line wrap: on
line diff
--- a/roundup/configuration.py Mon Jul 26 00:24:09 2004 +0000 +++ b/roundup/configuration.py Mon Jul 26 05:59:45 2004 +0000 @@ -1,6 +1,6 @@ # Roundup Issue Tracker configuration support # -# $Id: configuration.py,v 1.8 2004-07-26 00:23:16 richard Exp $ +# $Id: configuration.py,v 1.9 2004-07-26 05:59:45 a1s Exp $ # __docformat__ = "restructuredtext" @@ -637,7 +637,7 @@ def load_ini(self, tracker_home): """Set options from config.ini file in given tracker_home directory""" # parse the file - _config = ConfigParser.ConfigParser() + _config = ConfigParser.ConfigParser({"TRACKER_HOME": tracker_home}) _config.read([os.path.join(tracker_home, self.INI_FILE)]) # .ini file loaded ok. set the options, starting from TRACKER_HOME self.reset()
