Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 2633:a9e1fff1e793
I thought I committed this last night. Ho hum.
- This implements most of the rest of the new tracker config layout:
- dbinit.py split between schema.py and initial_data.py
- interfaces.py gone
- tracker and detectors __init__.py gone
- Added some missing functionality to backends: db_exists test and db_nuke.
- Implemented configuration file options in postgresql backend.
- Cleaned up tracker initialisation a lot.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 27 Jul 2004 00:57:19 +0000 |
| parents | 9c55f2bc5961 |
| children | 11811b313459 |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Tue Jul 27 00:45:49 2004 +0000 +++ b/roundup/scripts/roundup_server.py Tue Jul 27 00:57:19 2004 +0000 @@ -17,7 +17,7 @@ """Command-line script that runs a server over roundup.cgi.client. -$Id: roundup_server.py,v 1.57 2004-07-27 00:45:49 richard Exp $ +$Id: roundup_server.py,v 1.58 2004-07-27 00:57:18 richard Exp $ """ __docformat__ = 'restructuredtext' @@ -187,7 +187,10 @@ decoded_query = query.replace('+', ' ') # do the roundup thang - c = tracker.Client(tracker, self, env) + if hasattr(tracker, 'Client'): + c = tracker.Client(tracker, self, env) + else: + c = client.Client(tracker, self, env) c.main() def address_string(self):
