From: richard Date: Mon, 23 Jul 2001 10:31:45 +0000 (+0000) Subject: disabled the reloading until it can be done properly X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21b4e34dc3f73ac5446d17d44956dbc16edcaacc;p=roundup.git disabled the reloading until it can be done properly git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@58 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup-server b/roundup-server index 3c30c63..c67f197 100755 --- a/roundup-server +++ b/roundup-server @@ -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 #