[or-cvs] [torflow/master 56/92] Changed SearchBasedHTMLTest result_filetypes from html to [any]

mikeperry at torproject.org mikeperry at torproject.org
Sat Aug 21 05:14:00 UTC 2010


Author: John M. Schanck <john at anomos.info>
Date: Wed, 4 Aug 2010 12:13:07 -0400
Subject: Changed SearchBasedHTMLTest result_filetypes from html to [any]
Commit: e317ffd4561d55c7723bd2b9f0c6760bc8d0e596

---
 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 1df2f27..a1ee175 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -2108,13 +2108,13 @@ class SearchBasedHTMLTest(SearchBasedTest, BaseHTMLTest):
   def __init__(self, wordlist):
     BaseHTMLTest.__init__(self)
     SearchBasedTest.__init__(self, wordlist)
-    self.result_filetypes = "html"
+    self.result_filetypes = ["any"]
     self.result_protocol = "http"
     self.results_per_type = self.fetch_targets
 
   def depickle_upgrade(self):
     if self._pickle_revision < 7:
-      self.result_filetypes = "html"
+      self.result_filetypes = ["any"]
       self.result_protocol = "http"
       self.results_per_type = self.fetch_targets
     BaseHTMLTest.depickle_upgrade(self)
-- 
1.7.1




More information about the tor-commits mailing list