[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18407: {torflow} This is gonna throw an exception isn't it.. (torflow/trunk/NetworkScanners)



Author: mikeperry
Date: 2009-02-05 16:51:11 -0500 (Thu, 05 Feb 2009)
New Revision: 18407

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

This is gonna throw an exception isn't it..



Modified: torflow/trunk/NetworkScanners/soat.py
===================================================================
--- torflow/trunk/NetworkScanners/soat.py	2009-02-05 21:49:25 UTC (rev 18406)
+++ torflow/trunk/NetworkScanners/soat.py	2009-02-05 21:51:11 UTC (rev 18407)
@@ -404,7 +404,10 @@
     for r in kill_results:
       # Save this new result file in false positive dir 
       # and remove old one
-      os.unlink(self.datahandler.resultFilename(r))
+      try:
+        os.unlink(self.datahandler.resultFilename(r))
+      except:
+        pass
       r.mark_false_positive(reason)
       self.datahandler.saveResult(r)
       self.results.remove(r)