Mercurial > p > roundup > code
changeset 54:b68bcb176d1a
disabled the reloading until it can be done properly
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 23 Jul 2001 10:31:45 +0000 |
| parents | a117296dd59c |
| children | bd7be96eb56d |
| files | roundup-server |
| diffstat | 1 files changed, 16 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup-server Mon Jul 23 08:55:04 2001 +0000 +++ b/roundup-server Mon Jul 23 10:31:45 2001 +0000 @@ -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 @@ # 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 @@ # 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 @@ # # $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 #
