From e4b38834718b7d104c1c2eb6d61ec6f16a40a9b7 Mon Sep 17 00:00:00 2001 From: Markus Roth Date: Wed, 27 Nov 2013 23:45:54 +0100 Subject: [PATCH] Reenable counting files and annotations. --- sloth/annotations/model.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sloth/annotations/model.py b/sloth/annotations/model.py index eea3b86..7d194b9 100644 --- a/sloth/annotations/model.py +++ b/sloth/annotations/model.py @@ -271,11 +271,9 @@ class RootModelItem(ModelItem): LOG.debug("Creation of ModelItems: %.2fs, addition to model: %.2fs" % (diff1, diff2)) def numFiles(self): - return 0 return len(self.children()) def numAnnotations(self): - return 0 count = 0 for ann in self._model.iterator(AnnotationModelItem): count += 1