Commit b58d3db1 authored by Jeremy Hylton's avatar Jeremy Hylton

Use public cacheGC() method instead of private _incrgc().

parent 1424b969
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Database objects """Database objects
$Id: DB.py,v 1.67 2004/03/01 15:45:03 jeremy Exp $""" $Id: DB.py,v 1.68 2004/03/02 15:36:40 jeremy Exp $"""
import cPickle, cStringIO, sys import cPickle, cStringIO, sys
from thread import allocate_lock from thread import allocate_lock
...@@ -507,7 +507,7 @@ class DB(object): ...@@ -507,7 +507,7 @@ class DB(object):
c._setDB(self) c._setDB(self)
for pool, allocated in pooll: for pool, allocated in pooll:
for cc in pool: for cc in pool:
cc._incrgc() cc.cacheGC()
if transaction is not None: if transaction is not None:
transaction[version] = c transaction[version] = c
......
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