[or-cvs] r20155: {torflow} Heh, wow sys.exit(0) throws SystemExit exception. Exception- (torflow/trunk/NetworkScanners/BwAuthority)

mikeperry at seul.org mikeperry at seul.org
Mon Jul 27 01:12:55 UTC 2009


Author: mikeperry
Date: 2009-07-26 21:12:55 -0400 (Sun, 26 Jul 2009)
New Revision: 20155

Modified:
   torflow/trunk/NetworkScanners/BwAuthority/aggregate.py
Log:

Heh, wow sys.exit(0) throws SystemExit exception.
Exception-happy much, python?



Modified: torflow/trunk/NetworkScanners/BwAuthority/aggregate.py
===================================================================
--- torflow/trunk/NetworkScanners/BwAuthority/aggregate.py	2009-07-26 22:18:00 UTC (rev 20154)
+++ torflow/trunk/NetworkScanners/BwAuthority/aggregate.py	2009-07-27 01:12:55 UTC (rev 20155)
@@ -301,7 +301,6 @@
 if __name__ == "__main__":
   try:
     main(sys.argv)
-    sys.exit(0)
   except socket.error, e:
     traceback.print_exc()
     plog("WARN", "Socket error. Are the scanning Tors running?")
@@ -310,3 +309,4 @@
     plog("ERROR", "Exception during aggregate: "+str(e))
     traceback.print_exc()
     sys.exit(1)
+  sys.exit(0)



More information about the tor-commits mailing list