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.
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to