Logo Search packages:      
Sourcecode: zope-btreefolder2 version File versions  Download package

def BTreeFolder2::BTreeFolder2::BTreeFolder2Base::_fixCount (   self ) [private]
Checks if the value of self._count disagrees with
len(self.objectIds()). If so, corrects self._count. Returns the
old and new count values. If old==new, no correction was
performed.

Definition at line 127 of file BTreeFolder2.py.

                       :
        """Checks if the value of self._count disagrees with
        len(self.objectIds()). If so, corrects self._count. Returns the
        old and new count values. If old==new, no correction was
        performed.
        """
        old = self._count()
        new = len(self.objectIds())
        if old != new:
            self._count.set(new)
        return old, new



Generated by  Doxygen 1.6.0   Back to index