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

[or-cvs] r17992: {torflow} Doh. Python casting exception.. (torflow/trunk/NetworkScanners)



Author: mikeperry
Date: 2009-01-06 21:10:46 -0500 (Tue, 06 Jan 2009)
New Revision: 17992

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

Doh. Python casting exception..



Modified: torflow/trunk/NetworkScanners/speedracer.py
===================================================================
--- torflow/trunk/NetworkScanners/speedracer.py	2009-01-07 00:30:12 UTC (rev 17991)
+++ torflow/trunk/NetworkScanners/speedracer.py	2009-01-07 02:10:46 UTC (rev 17992)
@@ -113,7 +113,7 @@
         ret = http_request(url)
         delta_build = time() - t0
         if delta_build >= 550.0:
-            plog('NOTICE', 'Timer exceeded limit: ' + delta_build + '\n')
+            plog('NOTICE', 'Timer exceeded limit: ' + str(delta_build) + '\n')
 
         build_exit = get_exit_node(meta)
         if ret == 1: