Skip to content

Commit

Permalink
Fix bug in link checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed May 21, 2010
1 parent f6e5885 commit 6a29b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planet/splice.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def splice():

# warn on missing links
if not data.feed.has_key('planet_message'):
if not data.has_key('links'): data.feed['links'] = []
if not data.feed.has_key('links'): data.feed['links'] = []

for link in data.feed.links:
if link.rel == 'self': break
Expand Down

0 comments on commit 6a29b0e

Please sign in to comment.