[or-cvs] r17981: {torflow} Dag, need to return something. Also need to rethrow the keyb (torflow/trunk/NetworkScanners)

mikeperry at seul.org mikeperry at seul.org
Tue Jan 6 20:42:31 UTC 2009


Author: mikeperry
Date: 2009-01-06 15:42:31 -0500 (Tue, 06 Jan 2009)
New Revision: 17981

Modified:
   torflow/trunk/NetworkScanners/speedracer.py
Log:

Dag, need to return something. Also need to rethrow the keyboard interrupts.



Modified: torflow/trunk/NetworkScanners/speedracer.py
===================================================================
--- torflow/trunk/NetworkScanners/speedracer.py	2009-01-06 20:38:05 UTC (rev 17980)
+++ torflow/trunk/NetworkScanners/speedracer.py	2009-01-06 20:42:31 UTC (rev 17981)
@@ -89,10 +89,12 @@
     except (IndexError, TypeError):
         plog('ERROR', 'An error occured while negotiating socks5 with Tor')
         return 0
+    except KeyboardInterrupt:
+        raise KeyboardInterrupt
     except:
         plog('ERROR', 'An unknown HTTP error occured')
         traceback.print_exc()
-      
+        return 0 
 
 def speedrace(meta, skip, pct):
 



More information about the tor-commits mailing list