[Zodb-checkins] CVS: Packages/StorageGC - CyclicGC.py:1.17
tim@digicool.com
tim@digicool.com
Fri, 27 Apr 2001 03:21:38 -0400 (EDT)
Update of /cvs-repository/Packages/StorageGC
In directory korak:/tmp/cvs-serv17243
Modified Files:
CyclicGC.py
Log Message:
Previously changed _worktodo from local vrbl to instance vrbl, but missed
a reference in the TopologyError handler.
--- Updated File CyclicGC.py in package Packages/StorageGC --
--- CyclicGC.py 2001/04/26 22:11:03 1.16
+++ CyclicGC.py 2001/04/27 07:21:36 1.17
@@ -316,7 +316,7 @@
self._start_next_batch()
if not self.done():
self._back_to_stage0()
- self.resume(effort <= 0 and -1 or worktodo)
+ self.resume(effort <= 0 and -1 or self._worktodo)
# print "Leaving", self._stage, self._worktodo
@@ -553,9 +553,9 @@
rc = self._get_storage_rc(obj)
d = [None] * NUM_DESCRIPTOR_SLOTS
- d[OBJ] = obj
- d[RC] = rc
- d[ADJRC] = rc
+ d[OBJ] = obj
+ d[RC] = rc
+ d[ADJRC] = rc
self._obj2d[obj] = d
self._allobjds.append(d)