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

[tor-commits] [ooni-probe/master] Fix typo in dns injection test input processor



commit 989c83bce551122c7f5c4002c2e461ec5bb4435b
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Mon Mar 4 21:37:52 2013 +0100

    Fix typo in dns injection test input processor
---
 nettests/experimental/dns_injection.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nettests/experimental/dns_injection.py b/nettests/experimental/dns_injection.py
index 1424f7f..97233cf 100644
--- a/nettests/experimental/dns_injection.py
+++ b/nettests/experimental/dns_injection.py
@@ -41,7 +41,7 @@ class DNSInjectionTest(dnst.DNSTest):
             if line.startswith('http://'):
                 yield line.replace('http://', '').replace('/', '').strip()
             else:
-                yield x.strip()
+                yield line.strip()
         fp.close()
 
     def test_injection(self):



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