Commit a2cd4262 authored by Andreas Jung's avatar Andreas Jung

gettting rid of zLOG

parent cab0059b
......@@ -40,8 +40,8 @@ from tempstorage.TemporaryStorage import TemporaryStorage
from OFS.Application import Application
from OFS.Folder import Folder
import sys
import time
import traceback
from zLOG import log_time
sys.setcheckinterval(200)
from Products.Transience.tests import fauxtime
......@@ -57,6 +57,12 @@ sdm_name = 'session_data_manager'
stuff = {}
def log_time():
"""Return a simple time string without spaces suitable for logging."""
return ("%4.4d-%2.2d-%2.2dT%2.2d:%2.2d:%2.2d"
% time.localtime()[:6])
def _getDB():
db = stuff.get('db')
if not db:
......
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