Skip to content

Commit

Permalink
another innocuous detail we can ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
montanaro committed Nov 6, 2009
1 parent 30a2b41 commit 41f262f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spambayes/spambayes/dnscache.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ def lookup(self,question,qType="A"):
reply = self.queryObj.req(queryQuestion, qtype=qType,
timeout=self.dnsTimeout)
except DNS.Base.DNSError,detail:
if detail.args[0] != "Timeout":
if detail.args[0] not in ("Timeout", "nothing to lookup"):
print >> sys.stderr, detail.args[0]
print >> sys.stderr, "Error, fixme", detail
print >> sys.stderr, "Question was", queryQuestion
print >> sys.stderr, "Original question was", question
Expand Down

0 comments on commit 41f262f

Please sign in to comment.