comparison roundup/scripts/roundup_server.py @ 1410:3a853f1c20b5 maint-0.5

backporting fixes from HEAD
author Richard Jones <richard@users.sourceforge.net>
date Thu, 06 Feb 2003 05:44:49 +0000
parents 434708fc4c29
children de4fa8bed9d3
comparison
equal deleted inserted replaced
1401:6b3a20ffb343 1410:3a853f1c20b5
14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
16 # 16 #
17 """ HTTP Server that serves roundup. 17 """ HTTP Server that serves roundup.
18 18
19 $Id: roundup_server.py,v 1.16.2.1 2003-01-13 02:45:09 richard Exp $ 19 $Id: roundup_server.py,v 1.16.2.2 2003-02-06 05:44:49 richard Exp $
20 """ 20 """
21 21
22 # python version check 22 # python version check
23 from roundup import version_check 23 from roundup import version_check
24 24
245 pidfile = None 245 pidfile = None
246 logfile = None 246 logfile = None
247 try: 247 try:
248 # handle the command-line args 248 # handle the command-line args
249 try: 249 try:
250 optlist, args = getopt.getopt(sys.argv[1:], 'n:p:u:d:l:') 250 optlist, args = getopt.getopt(sys.argv[1:], 'n:p:u:d:l:h')
251 except getopt.GetoptError, e: 251 except getopt.GetoptError, e:
252 usage(str(e)) 252 usage(str(e))
253 253
254 user = ROUNDUP_USER 254 user = ROUNDUP_USER
255 for (opt, arg) in optlist: 255 for (opt, arg) in optlist:

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