← Back to team overview

harvest-dev team mailing list archive

[Bug 658212] Re: don't fail on non-existing last-modified header entry

 

** Branch linked: lp:~dholbach/harvest/658212

-- 
don't fail on non-existing last-modified header entry
https://bugs.launchpad.net/bugs/658212
You received this bug notification because you are a member of harvest-
dev, which is the registrant for harvest.

Status in Harvest Service: In Progress

Bug description:
 File "/home/daniel/bzr/harvest.656221/harvest/opportunities/management/commands/updateopportunities.py", line 21, in update_lists
    (entries, new_date) = opportunity_lists.read_entries(op_list.url, op_list.last_updated)
  File "/home/daniel/bzr/harvest.656221/harvest/common/opportunity_lists.py", line 16, in read_entries
    if sock.info()["Last-Modified"]:
  File "/usr/lib/python2.6/rfc822.py", line 388, in __getitem__
    return self.dict[name.lower()]
KeyError: 'last-modified'





References