Commit f2ca4f27 authored by Jim Fulton's avatar Jim Fulton

Fixed a name error.

parent 26296cc1
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
"""Database objects """Database objects
$Id: DB.py,v 1.10 1999/07/07 19:57:55 jim Exp $""" $Id: DB.py,v 1.11 1999/07/14 11:32:31 jim Exp $"""
__version__='$Revision: 1.10 $'[11:-2] __version__='$Revision: 1.11 $'[11:-2]
import cPickle, cStringIO, sys, POSException import cPickle, cStringIO, sys, POSException
from Connection import Connection from Connection import Connection
...@@ -196,6 +196,7 @@ class DB: ...@@ -196,6 +196,7 @@ class DB:
temps=self._temps temps=self._temps
if temps: if temps:
t=[] t=[]
rc=sys.getrefcount
for cc in temps: for cc in temps:
if rc(cc) > 3: f(cc) if rc(cc) > 3: f(cc)
self._temps=t self._temps=t
......
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