[ZCM] [ZC] 757/ 1 Request "Wrong total issue number in CMFCollector"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin@zope.org
Sat, 04 Jan 2003 12:27:04 -0500


Issue #757 Update (Request) "Wrong total issue number in CMFCollector"
 Status Pending, Zope/bug+solution medium
To followup, visit:
  http://collector.zope.org/Zope/757

==============================================================
= Request - Entry #1 by Anonymous User on Jan 4, 2003 12:26 pm

The total number of issues in the Collector is 1 higher than the real number.

Suggested fix to CMFCollector/Collector.py. Change:

    def __len__(self):
        """length() protocol method."""
        return len(self.objectIds()) - 1

To:
    def __len__(self):
        """length() protocol method."""
        return len(self.objectIds()) - 2

==============================================================