Skip to content

Commit

Permalink
Merge branch 'master' of ssh://jpgarch@complete.org/~jpgarch/git/pygo…
Browse files Browse the repository at this point in the history
…pherd
  • Loading branch information
jgoerzen committed Aug 9, 2008
2 parents bf9fdd5 + ed65ee9 commit 4c359e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pygopherd/handlers/UMN.py
Expand Up @@ -224,7 +224,10 @@ def getLinkItem(self, fd, capfilepath = None):
entry.setport(int(line[5:]))
done['port'] = 1
elif line[0:5] == 'Numb=':
entry.setnum(int(line[5:]))
try: # Don't crash if we can't parse the number
entry.setnum(int(line[5:]))
except:
pass
elif line[0:9] == 'Abstract=':
abstractstr = ""
abstractline = line[9:]
Expand Down

0 comments on commit 4c359e3

Please sign in to comment.