[Spambayes-checkins] SF.net SVN: spambayes:[3273] trunk/spambayes/spambayes/classifier.py
montanaro at users.sourceforge.net
montanaro at users.sourceforge.net
Sun Aug 14 23:28:50 CEST 2011
Revision: 3273
http://spambayes.svn.sourceforge.net/spambayes/?rev=3273&view=rev
Author: montanaro
Date: 2011-08-14 21:28:50 +0000 (Sun, 14 Aug 2011)
Log Message:
-----------
Silly mistake. Pointed out by Stefan Behnel in item #3390891.
Modified Paths:
--------------
trunk/spambayes/spambayes/classifier.py
Modified: trunk/spambayes/spambayes/classifier.py
===================================================================
--- trunk/spambayes/spambayes/classifier.py 2011-02-25 20:07:51 UTC (rev 3272)
+++ trunk/spambayes/spambayes/classifier.py 2011-08-14 21:28:50 UTC (rev 3273)
@@ -606,7 +606,7 @@
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"]:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Spambayes-checkins
mailing list