[tor-commits] [torflow/master] 4264 bad argument to SSLTestResult

mikeperry at torproject.org mikeperry at torproject.org
Wed Nov 9 23:05:22 UTC 2011


commit ae161dd458bb01717dea207023ce5b490cc47aae
Author: aagbsn <aagbsn at extc.org>
Date:   Wed Oct 19 15:04:58 2011 -0700

    4264 bad argument to SSLTestResult
    
    replaced string "NoExit" with None because parent class TestResult
    does not expect a string.
---
 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 f647495..e462b57 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -1589,7 +1589,7 @@ class BaseSSLTest(Test):
       if ssl_domain.cert_changed:
         plog("NOTICE", "Fully dynamic certificate host "+address)
 
-        result = SSLTestResult("NoExit", "NotStored!", address, ssl_file_name,
+        result = SSLTestResult(None, "NotStored!", address, ssl_file_name,
                                TEST_INCONCLUSIVE,
                                INCONCLUSIVE_DYNAMICSSL)
         if self.rescan_nodes:
@@ -1601,7 +1601,7 @@ class BaseSSLTest(Test):
 
     if not ssl_domain.num_certs():
       plog("NOTICE", "No non-tor certs available for "+address)
-      result = SSLTestResult("NoExit", "NoStored!", address, ssl_file_name,
+      result = SSLTestResult(None, "NotStored!", address, ssl_file_name,
                              TEST_INCONCLUSIVE,
                              INCONCLUSIVE_NOLOCALCONTENT)
       if self.rescan_nodes:





More information about the tor-commits mailing list