Skip to content

Commit

Permalink
Silly mistake. Pointed out by Stefan Behnel in item #3390891.
Browse files Browse the repository at this point in the history
  • Loading branch information
montanaro committed Aug 14, 2011
1 parent 8254d36 commit e35883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spambayes/spambayes/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def setup(self):
if os.path.exists(self.http_error_cache_name):
try:
self.http_error_urls = pickle_read(self.http_error_cache_name)
except IOError, ValueError:
except (IOError, ValueError):
# Something went wrong loading it (bad pickle,
# probably). Start afresh.
if options["globals", "verbose"]:
Expand Down

0 comments on commit e35883b

Please sign in to comment.