[tor-commits] [ooni-probe/master] Fix typo in dns injection test input processor
isis at torproject.org
isis at torproject.org
Sun Mar 10 01:57:02 UTC 2013
commit 989c83bce551122c7f5c4002c2e461ec5bb4435b
Author: Arturo Filastò <art at fuffa.org>
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):
More information about the tor-commits
mailing list