summary | 
shortlog | 
log | 
commit | commitdiff | 
tree
raw | 
patch | 
inline | side by side (from parent 1: 
11a4af2)
 
  - link might not always exist, md5sum is always present, don't fail on no link.
         prevmessageid = None
 
         db_guid_key = None
         prevmessageid = None
 
         db_guid_key = None
+        if not item.has_key("link"):
+            item["link"] = u'#' + md5sum
         db_link_key = (url + u'|' + item["link"]).encode("utf-8")
 
         # check if there's a guid too - if that exists and we match the md5,
         db_link_key = (url + u'|' + item["link"]).encode("utf-8")
 
         # check if there's a guid too - if that exists and we match the md5,