Mercurial > p > roundup > code
comparison roundup/scripts/roundup_server.py @ 3884:1165f2204542
Ooops...not sure where those tabs came from. Making them spaces.
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Mon, 03 Sep 2007 17:26:42 +0000 |
| parents | 679118b572d5 |
| children | 41948328f987 |
comparison
equal
deleted
inserted
replaced
| 3883:679118b572d5 | 3884:1165f2204542 |
|---|---|
| 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.90 2007-09-03 17:20:07 jpend Exp $ | 20 $Id: roundup_server.py,v 1.91 2007-09-03 17:26:42 jpend Exp $ |
| 21 """ | 21 """ |
| 22 __docformat__ = 'restructuredtext' | 22 __docformat__ = 'restructuredtext' |
| 23 | 23 |
| 24 import errno, cgi, getopt, os, socket, sys, traceback, urllib, time | 24 import errno, cgi, getopt, os, socket, sys, traceback, urllib, time |
| 25 import ConfigParser, BaseHTTPServer, SocketServer, StringIO | 25 import ConfigParser, BaseHTTPServer, SocketServer, StringIO |
| 510 "logfile": "l:", | 510 "logfile": "l:", |
| 511 "pidfile": "d:", | 511 "pidfile": "d:", |
| 512 "nodaemon": "D", | 512 "nodaemon": "D", |
| 513 "log_hostnames": "N", | 513 "log_hostnames": "N", |
| 514 "multiprocess": "t:", | 514 "multiprocess": "t:", |
| 515 "template": "i:", | 515 "template": "i:", |
| 516 "ssl": "s", | 516 "ssl": "s", |
| 517 "pem": "e:", | 517 "pem": "e:", |
| 518 } | 518 } |
| 519 | 519 |
| 520 def __init__(self, config_file=None): | 520 def __init__(self, config_file=None): |
| 521 configuration.Config.__init__(self, config_file, self.SETTINGS) | 521 configuration.Config.__init__(self, config_file, self.SETTINGS) |
| 522 self.sections.append("trackers") | 522 self.sections.append("trackers") |
