Commit 5cb68713 authored by Sidnei da Silva's avatar Sidnei da Silva

Missing import

parent 83be1cd7
...@@ -13,13 +13,14 @@ ...@@ -13,13 +13,14 @@
############################################################################## ##############################################################################
"""Database connection support """Database connection support
$Id: Connection.py,v 1.105 2003/12/24 16:02:00 jeremy Exp $""" $Id: Connection.py,v 1.106 2003/12/27 13:54:04 sidnei Exp $"""
import logging import logging
import sys import sys
import threading import threading
from time import time from time import time
from types import ClassType from types import ClassType
from utils import U64
_marker = object() _marker = object()
...@@ -45,7 +46,7 @@ global_reset_counter = 0 ...@@ -45,7 +46,7 @@ global_reset_counter = 0
def resetCaches(): def resetCaches():
"""Causes all connection caches to be reset as connections are reopened. """Causes all connection caches to be reset as connections are reopened.
Zope's refresh feature uses this. When you reload Python modules, Zope's refresh feature uses this. When you reload Python modules,
instances of classes continue to use the old class definitions. instances of classes continue to use the old class definitions.
To use the new code immediately, the refresh feature asks ZODB to To use the new code immediately, the refresh feature asks ZODB to
......
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