[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Fix bug in DNSTamper test



commit 18c2dbd0b0491b25e997214fef672a8ebe1b2312
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Wed Dec 5 16:07:30 2012 +0100

    Fix bug in DNSTamper test
---
 nettests/blocking/dnstamper.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nettests/blocking/dnstamper.py b/nettests/blocking/dnstamper.py
index b9dfc1b..7a60a65 100644
--- a/nettests/blocking/dnstamper.py
+++ b/nettests/blocking/dnstamper.py
@@ -65,7 +65,7 @@ class DNSTamperTest(dnst.DNSTest):
                 self.report['test_resolvers'] = self.test_resolvers
             f.close()
 
-        except IOError:
+        except IOError, e:
             log.exception(e)
             raise usage.UsageError("Invalid test resolvers file")
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits