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