comparison roundup/scripts/roundup_server.py @ 3022:9523de67ecad

merge from maint-0-8
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Wed, 22 Dec 2004 06:58:36 +0000
parents 996e2bab8d8a
children a7657b3cd22a
comparison
equal deleted inserted replaced
3019:293a17149765 3022:9523de67ecad
15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
16 # 16 #
17 17
18 """Command-line script that runs a server over roundup.cgi.client. 18 """Command-line script that runs a server over roundup.cgi.client.
19 19
20 $Id: roundup_server.py,v 1.74 2004-11-22 07:11:30 a1s Exp $ 20 $Id: roundup_server.py,v 1.75 2004-12-22 06:57:36 a1s Exp $
21 """ 21 """
22 __docformat__ = 'restructuredtext' 22 __docformat__ = 'restructuredtext'
23 23
24 import errno, cgi, getopt, os, socket, sys, traceback, urllib 24 import errno, cgi, getopt, os, socket, sys, traceback, urllib
25 import ConfigParser, BaseHTTPServer, SocketServer, StringIO 25 import ConfigParser, BaseHTTPServer, SocketServer, StringIO
357 "multiprocess": "t:", 357 "multiprocess": "t:",
358 } 358 }
359 359
360 def __init__(self, config_file=None): 360 def __init__(self, config_file=None):
361 configuration.Config.__init__(self, config_file, self.SETTINGS) 361 configuration.Config.__init__(self, config_file, self.SETTINGS)
362 self.sections.append("trackers")
362 363
363 def _adjust_options(self, config): 364 def _adjust_options(self, config):
364 """Add options for tracker homes""" 365 """Add options for tracker homes"""
365 # return early if there are no tracker definitions. 366 # return early if there are no tracker definitions.
366 # trackers must be specified on the command line. 367 # trackers must be specified on the command line.

Roundup Issue Tracker: http://roundup-tracker.org/