Mercurial > p > roundup > code
changeset 2836:473d2323bc9d
load interfaces in __init__():
interfaces must be accessible before the database is opened
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Fri, 29 Oct 2004 14:01:24 +0000 |
| parents | 9a6b451b1ba6 |
| children | bcee075321fc |
| files | roundup/instance.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/instance.py Fri Oct 29 13:41:25 2004 +0000 +++ b/roundup/instance.py Fri Oct 29 14:01:24 2004 +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.25 2004-10-20 05:28:51 richard Exp $ +# $Id: instance.py,v 1.26 2004-10-29 14:01:24 a1s Exp $ '''Tracker handling (open tracker). @@ -38,6 +38,7 @@ self.config = configuration.CoreConfig(tracker_home) self.cgi_actions = {} self.templating_utils = {} + self.load_interfaces() def get_backend_name(self): o = __builtins__['open'] @@ -69,7 +70,6 @@ self._load_python('schema.py', vars) db = vars['db'] - self.load_interfaces() self.load_extensions(db, 'detectors') self.load_extensions(self, 'extensions')
