Permalink
Browse files

More resilience

  • Loading branch information...
1 parent 33d3ad2 commit 4e5cc4f5020d23ba8b87bf3eb223379a4fa377e5 @rubys committed May 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 planet/reconstitute.py
View
@@ -230,7 +230,7 @@ def source(xsource, source, bozo, format):
author(xsource, 'contributor', contributor)
links(xsource, source)
- if not source.links and source.has_key('href'): #rss
+ if not source.has_key('links') and source.has_key('href'): #rss
xlink = xdoc.createElement('link')
xlink.setAttribute('href', source.get('href'))
xsource.appendChild(xlink)

0 comments on commit 4e5cc4f

Please sign in to comment.