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

[tor-commits] [ooni-probe/master] Fix variable name



commit 5a9d66c80afcf78e6cabcb6fe0d6dbc714618055
Author: aagbsn <aagbsn@xxxxxxxx>
Date:   Sun Dec 2 15:01:32 2012 +0000

    Fix variable name
    
    fp.close should be f.close()
---
 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 6d6acf5..6185e1b 100644
--- a/nettests/blocking/dnstamper.py
+++ b/nettests/blocking/dnstamper.py
@@ -63,7 +63,7 @@ class DNSTamperTest(dnst.DNSTest):
             with open(test_resolvers_file) as f:
                 self.test_resolvers = [x.split('#')[0].strip() for x in f.readlines()]
                 self.report['test_resolvers'] = self.test_resolvers
-            fp.close()
+            f.close()
 
         except IOError:
             log.exception(e)



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