commit 269f929fa7fff7f609131d6ec5ae076c3699e486 Author: aagbsn aagbsn@extc.org Date: Thu Dec 6 00:08:01 2012 +0000
Make log output clearer --- nettests/blocking/dnstamper.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/nettests/blocking/dnstamper.py b/nettests/blocking/dnstamper.py index 7a60a65..1ef2c89 100644 --- a/nettests/blocking/dnstamper.py +++ b/nettests/blocking/dnstamper.py @@ -111,16 +111,16 @@ class DNSTamperTest(dnst.DNSTest): return
for test_resolver in self.test_resolvers: - log.msg("Testing %s test resolver" % test_resolver) + log.msg("Testing resolver: %s" % test_resolver) test_dns_server = (test_resolver, 53)
experiment_answers = yield self.performALookup(hostname, test_dns_server) - log.debug("Got the following A lookup answers %s for %s" % (experiment_answers, test_resolver)) - if not experiment_answers: log.err("Got no response, perhaps the DNS resolver is down?") self.report['tampering'][test_resolver] = 'no_answer' continue + else: + log.debug("Got the following A lookup answers %s from %s" % (experiment_answers, test_resolver))
def lookup_details(): """
tor-commits@lists.torproject.org