minor fix

This commit is contained in:
Miroslav Stampar
2011-11-23 14:26:40 +00:00
parent 9b99530add
commit 14e8ca6d41
3 changed files with 17 additions and 6 deletions

View File

@@ -33,10 +33,16 @@ class _ThreadData(threading.local):
"""
def __init__(self):
global shared
self.reset()
def reset(self):
"""
Resets thread data model
"""
self.disableStdOut = False
self.hashDBCursor = None
self.inTransaction = False
self.lastErrorPage = None
self.lastHTTPError = None
self.lastRedirectMsg = None