Log read objects

This commit is contained in:
Guillaume Ayoub 2016-09-16 14:13:53 +02:00
parent ecb8a99ed1
commit 0c1dbc30bd

View File

@ -705,6 +705,7 @@ class Collection(BaseCollection):
continue
path = os.path.join(self._filesystem_path, href)
if os.path.isfile(path):
self.logger.debug("Read object: %s", path)
with open(path, encoding=self.encoding, newline="") as fd:
items.append(vobject.readOne(fd.read()))
if self.get_meta("tag") == "VCALENDAR":