[tor-commits] [torflow/master] 4101 - 'address_to_context' is not defined

mikeperry at torproject.org mikeperry at torproject.org
Wed Sep 28 22:38:12 UTC 2011


commit 81b6ef6be8a6e685770b2d0e5daf8b64f7e690e5
Author: aagbsn <aagbsn at extc.org>
Date:   Tue Sep 27 00:51:38 2011 -0700

    4101 - 'address_to_context' is not defined
    
    missing 'self'
---
 NetworkScanners/ExitAuthority/soat.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index be0dde0..19a820e 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -1322,7 +1322,7 @@ class BaseHTTPTest(Test):
         result = HttpTestResult(self.node_map[exit_node[1:]],
                                 address, TEST_FAILURE, FAILURE_EXITONLY,
                                 sha1sum_new.hexdigest(), psha1sum.hexdigest(),
-                                address_to_context(address)+".content")
+                                self.address_to_context(address)+".content")
         retval = self.register_exit_failure(result)
 
       else:
@@ -1334,7 +1334,7 @@ class BaseHTTPTest(Test):
         result = HttpTestResult(self.node_map[exit_node[1:]],
                                 address, TEST_INCONCLUSIVE, INCONCLUSIVE_DYNAMIC,
                                 sha1sum_new.hexdigest(), psha1sum.hexdigest(),
-                                address_to_context(address)+".content")
+                                self.address_to_context(address)+".content")
         retval = self.register_inconclusive(result)
 
     elif result == COMPARE_EQUAL:





More information about the tor-commits mailing list