[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torflow/master] 4264 bad argument to SSLTestResult
commit ae161dd458bb01717dea207023ce5b490cc47aae
Author: aagbsn <aagbsn@xxxxxxxx>
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:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits