[or-cvs] r16801: {torflow} yet another typo (torflow/branches/gsoc2008)

aleksei at seul.org aleksei at seul.org
Mon Sep 8 21:13:17 UTC 2008


Author: aleksei
Date: 2008-09-08 17:13:16 -0400 (Mon, 08 Sep 2008)
New Revision: 16801

Modified:
   torflow/branches/gsoc2008/soat.py
Log:
yet another typo

Modified: torflow/branches/gsoc2008/soat.py
===================================================================
--- torflow/branches/gsoc2008/soat.py	2008-09-08 19:50:29 UTC (rev 16800)
+++ torflow/branches/gsoc2008/soat.py	2008-09-08 21:13:16 UTC (rev 16801)
@@ -1201,7 +1201,7 @@
         scanner.check_all_exits_port_consistency()
 
     # maybe only the consistency test was required
-    if not (do_ssl or do_http or do_ssh or do_smtp or do_pop or do_imap or do_dns):
+    if not (do_ssl or do_http or do_ssh or do_smtp or do_pop or do_imap or do_dns_basic):
         plog('INFO', 'Done.')
         sys.exit(0)
 
@@ -1268,8 +1268,13 @@
 
         if len(dns_urls) == 0:
             plog('ERROR', 'No urls specified for dns testing.')
-            do_dns = False
+            do_dns_basic = False
 
+    # maybe no tests could be initialized
+    if not (do_ssl or do_http or do_ssh or do_smtp or do_pop or do_imap or do_dns_basic):
+        plog('INFO', 'Done.')
+        sys.exit(0)
+
     # start testing
     while 1:  
         



More information about the tor-commits mailing list