[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r17990: {torflow} Aha, initializing a variable before using it also holds in P (torflow/trunk/NetworkScanners)
Author: kloesing
Date: 2009-01-06 18:40:51 -0500 (Tue, 06 Jan 2009)
New Revision: 17990
Modified:
torflow/trunk/NetworkScanners/speedracer.py
Log:
Aha, initializing a variable before using it also holds in Python.
Modified: torflow/trunk/NetworkScanners/speedracer.py
===================================================================
--- torflow/trunk/NetworkScanners/speedracer.py 2009-01-06 22:20:31 UTC (rev 17989)
+++ torflow/trunk/NetworkScanners/speedracer.py 2009-01-06 23:40:51 UTC (rev 17990)
@@ -115,9 +115,9 @@
if delta_build >= 550.0:
plog('NOTICE', 'Timer exceeded limit: ' + delta_build + '\n')
+ build_exit = get_exit_node(meta)
if ret == 1:
successful += 1
- build_exit = get_exit_node(meta)
plog('DEBUG', str(skip) + '-' + str(pct) + '% circuit build+fetch took ' + str(delta_build) + ' for ' + str(build_exit))
else:
plog('DEBUG', str(skip) + '-' + str(pct) + '% circuit build+fetch failed for ' + str(build_exit))