Permalink
Browse files

more crashers.

git-svn-id: https://jerakeen.org/svn/tomi/Projects/Shelf@3868 ab05c693-d3d1-0310-8e8b-e1346d90d6a5
  • Loading branch information...
1 parent c287a87 commit b7e9dbe0ae6ec2bc7f6b1ab98e92a41d57d1ae14 tomi committed Mar 28, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 relmeparser.py
View
@@ -23,6 +23,8 @@ def parse(inp, base = "http://dummy/url"):
str = inp.read()
except AttributeError:
str = inp
+ if not str:
+ return []
try:
m.feed(str)
m.close()

0 comments on commit b7e9dbe

Please sign in to comment.