summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2218ff2)
raw | patch | inline | side by side (parent: 2218ff2)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 15 Dec 2001 23:47:07 +0000 (23:47 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 15 Dec 2001 23:47:07 +0000 (23:47 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@468 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup-server | patch | blob | history |
diff --git a/roundup-server b/roundup-server
index dbf2b229b575f1f4d2d9cca1d118dc95c257b1e0..1d204e01442ba95e960c461e75f6b3041c741a57 100755 (executable)
--- a/roundup-server
+++ b/roundup-server
Based on CGIHTTPServer in the Python library.
-$Id: roundup-server,v 1.22 2001-12-13 00:20:01 richard Exp $
+$Id: roundup-server,v 1.23 2001-12-15 23:47:07 richard Exp $
"""
# python version check
from roundup import version_check
-import os, urllib, StringIO, traceback, cgi, binascii, string, getopt, imp
+import sys, os, urllib, StringIO, traceback, cgi, binascii, getopt, imp
import BaseHTTPServer
# Roundup modules of use here
# figure the instance
if rest == '/':
return self.index()
- l_path = string.split(rest, '/')
+ l_path = rest.split('/')
instance_name = urllib.unquote(l_path[1])
if self.ROUNDUP_INSTANCE_HOMES.has_key(instance_name):
instance_home = self.ROUNDUP_INSTANCE_HOMES[instance_name]
d = {}
for arg in args:
try:
- name, home = string.split(arg, '=')
+ name, home = arg.split('=')
except ValueError:
raise ValueError, "Instances must be name=home"
d[name] = home
#
# $Log: not supported by cvs2svn $
+# Revision 1.22 2001/12/13 00:20:01 richard
+# . Centralised the python version check code, bumped version to 2.1.1 (really
+# needs to be 2.1.2, but that isn't released yet :)
+#
# Revision 1.21 2001/12/02 05:06:16 richard
# . We now use weakrefs in the Classes to keep the database reference, so
# the close() method on the database is no longer needed.