Commit 0d4a6ab0 authored by Toby Dickenson's avatar Toby Dickenson

dont close the storages mid-transaction. need to check whether we need to...

dont close the storages mid-transaction. need to check whether we need to close them at the end of z2.py
parent 27b6b5c7
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
############################################################################## ##############################################################################
__doc__="""System management components""" __doc__="""System management components"""
__version__='$Revision: 1.82 $'[11:-2] __version__='$Revision: 1.83 $'[11:-2]
import sys,os,time,Globals, Acquisition, os, Undo import sys,os,time,Globals, Acquisition, os, Undo
...@@ -326,7 +326,7 @@ class ApplicationManager(Folder,CacheManager): ...@@ -326,7 +326,7 @@ class ApplicationManager(Folder,CacheManager):
user = 'unknown user' user = 'unknown user'
zLOG.LOG("ApplicationManager", zLOG.INFO, zLOG.LOG("ApplicationManager", zLOG.INFO,
"Restart requested by %s" % user) "Restart requested by %s" % user)
for db in Globals.opened: db.close() #for db in Globals.opened: db.close()
Lifetime.shutdown(1) Lifetime.shutdown(1)
return """<html> return """<html>
<head><meta HTTP-EQUIV=REFRESH CONTENT="5; URL=%s/manage_main"> <head><meta HTTP-EQUIV=REFRESH CONTENT="5; URL=%s/manage_main">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment