Retain feed version across failures
This commit is contained in:
parent
e8e189c08f
commit
28606f8b52
@ -173,6 +173,7 @@ def spiderFeed(feed):
|
|||||||
if not data.version and feed_info.version:
|
if not data.version and feed_info.version:
|
||||||
data.feed = feed_info.feed
|
data.feed = feed_info.feed
|
||||||
data.bozo = feed_info.feed.get('planet_bozo','true') == 'true'
|
data.bozo = feed_info.feed.get('planet_bozo','true') == 'true'
|
||||||
|
data.version = feed_info.feed.get('planet_format')
|
||||||
data.feed['planet_http_status'] = str(data.status)
|
data.feed['planet_http_status'] = str(data.status)
|
||||||
|
|
||||||
# capture etag and last-modified information
|
# capture etag and last-modified information
|
||||||
|
Loading…
Reference in New Issue
Block a user