Mercurial > p > roundup > code
diff roundup-server @ 52:33bfce110d1e
Fixed the ROUNDUPS decl in roundup-server
Move the installation notes to INSTALL
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 23 Jul 2001 08:53:44 +0000 |
| parents | b475e7d3ce52 |
| children | b68bcb176d1a |
line wrap: on
line diff
--- a/roundup-server Mon Jul 23 08:45:28 2001 +0000 +++ b/roundup-server Mon Jul 23 08:53:44 2001 +0000 @@ -3,7 +3,7 @@ Stolen from CGIHTTPServer -$Id: roundup-server,v 1.2 2001-07-23 04:05:05 anthonybaxter Exp $ +$Id: roundup-server,v 1.3 2001-07-23 08:53:44 richard Exp $ """ import sys @@ -31,7 +31,7 @@ # # This indicates where the Roundup instance lives -ROUNDUPS = { +ROUNDUP_INSTANCE_HOMES = { 'test': '/tmp/roundup_test', } @@ -98,8 +98,8 @@ raise ValueError, 'No instance specified' l_path = string.split(rest, '/') instance = urllib.unquote(l_path[1]) - if ROUNDUPS.has_key(instance): - instance_home = ROUNDUPS[instance] + if ROUNDUP_INSTANCE_HOMES.has_key(instance): + instance_home = ROUNDUP_INSTANCE_HOMES[instance] module_path, instance = os.path.split(instance_home) sys.path.insert(0, module_path) try: @@ -220,6 +220,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.2 2001/07/23 04:05:05 anthonybaxter +# actually quit if python version wrong +# # Revision 1.1 2001/07/23 03:46:48 richard # moving the bin files to facilitate out-of-the-boxness #
