summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3374898)
raw | patch | inline | side by side (parent: 3374898)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Jul 2001 04:33:30 +0000 (04:33 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Jul 2001 04:33:30 +0000 (04:33 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@41 57a73879-2fb5-44c3-a270-3262357dd7e2
cgi-bin/roundup.cgi | patch | blob | history |
diff --git a/cgi-bin/roundup.cgi b/cgi-bin/roundup.cgi
index 511e08b7fb46f6d4b02ec0f3a77f7409e0da7817..532e971f322994fd92a535d7ac6a48772215bcd5 100755 (executable)
--- a/cgi-bin/roundup.cgi
+++ b/cgi-bin/roundup.cgi
#!/usr/bin/env python
-# $Id: roundup.cgi,v 1.2 2001-07-23 04:31:40 richard Exp $
+# $Id: roundup.cgi,v 1.3 2001-07-23 04:33:30 richard Exp $
# python version check
import sys
# This indicates where the Roundup instance lives
ROUNDUPS = {
- 'roundup_test': '/tmp/',
+ 'test': '/tmp/roundup_test',
}
# Where to log debugging information to. Use an instance of DevNull if you
os.environ['PATH_INFO'] = string.join(path[2:], '/')
if ROUNDUPS.has_key(instance):
instance_home = ROUNDUPS[instance]
- sys.path.insert(0, instance_home)
+ module_path, instance = os.path.split(instance_home)
+ sys.path.insert(0, module_path)
try:
instance = __import__(instance)
finally:
#
# $Log: not supported by cvs2svn $
+# Revision 1.2 2001/07/23 04:31:40 richard
+# Fixed the roundup CGI script for updates to cgi_client.py
+#
# Revision 1.1 2001/07/22 11:47:07 richard
# More Grande Splite
#