Mercurial > hg > Feedworm
comparison FeedUpdater.py @ 66:97c4e94f99cf
log when creating a new FeedEntry
author | dirk@xanthippe.ping.de |
---|---|
date | Thu, 29 Jul 2010 21:37:46 +0200 |
parents | abc0516a1c0c |
children | 479e8c06de49 |
comparison
equal
deleted
inserted
replaced
65:e24777e346e7 | 66:97c4e94f99cf |
---|---|
67 | 67 |
68 def createFeedEntry(self, entry): | 68 def createFeedEntry(self, entry): |
69 new = FeedEntry.create(entry) | 69 new = FeedEntry.create(entry) |
70 new.feed = self.feed | 70 new.feed = self.feed |
71 self.session.add(new) | 71 self.session.add(new) |
72 log.info("new feed entry: " + entry.title) | |
72 | 73 |
73 class FeedUpdateException(Exception): | 74 class FeedUpdateException(Exception): |
74 pass | 75 pass |