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

def BTreeFolder2::BTreeFolder2::BTreeFolder2Base::manage_fixCount (   self )
Calls self._fixCount() and reports the result as text.

Definition at line 115 of file BTreeFolder2.py.

                             :
        """Calls self._fixCount() and reports the result as text.
        """
        old, new = self._fixCount()
        path = '/'.join(self.getPhysicalPath())
        if old == new:
            return "No count mismatch detected in BTreeFolder2 at %s." % path
        else:
            return ("Fixed count mismatch in BTreeFolder2 at %s. "
                    "Count was %d; corrected to %d" % (path, old, new))



Generated by  Doxygen 1.6.0   Back to index