Commit 04f707dd authored by Hanno Schlichting's avatar Hanno Schlichting

Minimize diff some more

parent c1b9b0e5
...@@ -33,6 +33,7 @@ from .CatalogReport import CatalogReport ...@@ -33,6 +33,7 @@ from .CatalogReport import CatalogReport
LOG = logging.getLogger('Zope.ZCatalog') LOG = logging.getLogger('Zope.ZCatalog')
try: try:
from DocumentTemplate.cDocumentTemplate import safe_callable from DocumentTemplate.cDocumentTemplate import safe_callable
except ImportError: except ImportError:
...@@ -85,6 +86,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -85,6 +86,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
self._v_brains = brains self._v_brains = brains
self.updateBrains() self.updateBrains()
def __len__(self): def __len__(self):
return self._length() return self._length()
......
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