changeset 196:a9ba3e3a9a9a

log the publish date of a feed entry that's stored in the database
author dirk
date Tue, 24 Jan 2012 08:25:29 +0100
parents 66d1efcb8e8a
children e604c32f67aa
files backend/couchdb/FeedUpdater.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/couchdb/FeedUpdater.py	Fri Nov 25 11:15:22 2011 +0100
+++ b/backend/couchdb/FeedUpdater.py	Tue Jan 24 08:25:29 2012 +0100
@@ -16,7 +16,7 @@
             self._createFeedEntry(entry)
 
     def _createFeedEntry(self, entry):
-        log.info("new feed entry: " + entry.title)
+        log.info("new feed entry: %s (%s)" % (entry.title, entry.published))
         feedEntry = FeedEntry()
         feedEntry.feed = self.feed.id
         feedEntry.link = entry.link