Mercurial > hg > Feedworm
changeset 112:e4038dd8cc0e
add a comment about a Feedparser bug wrt python3
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 31 Mar 2011 03:50:46 +0200 |
parents | c17a224bc251 |
children | 04f8cf1558c1 |
files | FeedUpdater.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/FeedUpdater.py Thu Mar 31 03:15:39 2011 +0200 +++ b/FeedUpdater.py Thu Mar 31 03:50:46 2011 +0200 @@ -21,6 +21,7 @@ return session.query(Feed).filter(Feed.next_update < datetime.now()) def createNewFeed(url, session): + # when updating to python3 see http://code.google.com/p/feedparser/issues/detail?id=260 result = feedparser.parse(url) if result.has_key("title"): title = result["feed"].title