[or-cvs] r17054: {weather} Catch the AssertionError we're throwing on line 180. (weather/trunk)
ioerror at seul.org
ioerror at seul.org
Thu Oct 9 06:26:40 UTC 2008
Author: ioerror
Date: 2008-10-09 02:26:40 -0400 (Thu, 09 Oct 2008)
New Revision: 17054
Modified:
weather/trunk/poll.py
Log:
Catch the AssertionError we're throwing on line 180.
Modified: weather/trunk/poll.py
===================================================================
--- weather/trunk/poll.py 2008-10-09 06:13:30 UTC (rev 17053)
+++ weather/trunk/poll.py 2008-10-09 06:26:40 UTC (rev 17054)
@@ -185,7 +185,7 @@
self.failure_counts[node] = "0"
except KeyError:
pass
- except:
+ except AssertionError:
# for /some/ reason, we can't contact this tor node
ex1,ex2,ex3 = sys.exc_info()
if self.internet_looks_okay():
More information about the tor-commits
mailing list