Mercurial > daily-edition
changeset 21:6a6632954dc6
added logging statement while parsing feeds
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 03 Jan 2010 04:41:44 -0800 |
parents | 5e7ecaf68b9a |
children | f2fafca30ff3 |
files | publish_edition.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/publish_edition.py Sun Jan 03 04:38:37 2010 -0800 +++ b/publish_edition.py Sun Jan 03 04:41:44 2010 -0800 @@ -41,6 +41,7 @@ for author, feed_urls in feeds.items(): articles[author] = [] for url in feed_urls: + logging.debug('parsing feed at %s.' % url) feed = feedparser.parse(urls[url]['data']) for entry in feed['entries']: updated = entry.get('updated_parsed')