Code

disabled the reloading until it can be done properly
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 23 Jul 2001 10:31:45 +0000 (10:31 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 23 Jul 2001 10:31:45 +0000 (10:31 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@58 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup-server

index 3c30c63008d63bc691cea25e6936f98d61ef6ebe..c67f197ac3645dcf19c523b13197c3529382eacb 100755 (executable)
@@ -3,7 +3,7 @@
 
 Stolen from CGIHTTPServer
 
-$Id: roundup-server,v 1.3 2001-07-23 08:53:44 richard Exp $
+$Id: roundup-server,v 1.4 2001-07-23 10:31:45 richard Exp $
 
 """
 import sys
@@ -23,16 +23,13 @@ import SimpleHTTPServer
 # Roundup modules of use here
 from roundup import cgitb, cgi_client
 
-# These are here temporarily until I get a real reload system in place
-from roundup import date, hyperdb, hyper_bsddb, roundupdb, htmltemplate
-
 #
 ##  Configuration
 #
 
 # This indicates where the Roundup instance lives
 ROUNDUP_INSTANCE_HOMES = {
-    'test': '/tmp/roundup_test',
+    'bar': '/tmp/bar',
 }
 
 # Where to log debugging information to. Use an instance of DevNull if you
@@ -146,16 +143,16 @@ class RoundupRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
 
         # reload all modules
         # TODO check for file timestamp changes and dependencies
-        reload(date)
-        reload(hyperdb)
-        reload(roundupdb)
-        reload(htmltemplate)
-        reload(cgi_client)
-        sys.path.insert(0, module_path)
-        try:
-            reload(instance)
-        finally:
-            del sys.path[0]
+        #reload(date)
+        #reload(hyperdb)
+        #reload(roundupdb)
+        #reload(htmltemplate)
+        #reload(cgi_client)
+        #sys.path.insert(0, module_path)
+        #try:
+        #    reload(instance)
+        #finally:
+        #    del sys.path[0]
 
         # initialise the roundupdb, check for auth
         db = instance.open('admin')
@@ -220,6 +217,10 @@ if __name__ == '__main__':
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.3  2001/07/23 08:53:44  richard
+# Fixed the ROUNDUPS decl in roundup-server
+# Move the installation notes to INSTALL
+#
 # Revision 1.2  2001/07/23 04:05:05  anthonybaxter
 # actually quit if python version wrong
 #