Add log message

This commit is contained in:
Sam Ruby 2006-10-19 11:58:50 -04:00
parent 7310e14ee5
commit a7dda2a59b

View File

@ -119,7 +119,9 @@ def spiderFeed(feed, only_if_new=0):
os.makedirs(sources, 0700)
feed_source = filename(sources, feed)
feed_info = feedparser.parse(feed_source)
if feed_info.feed and only_if_new: return
if feed_info.feed and only_if_new:
log.info("Feed %s already in cache", feed)
return
if feed_info.feed.get('planet_http_status',None) == '410': return
# read feed itself