mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 02:09:24 +01:00
Fix a display issue in updateFallbackDirs.py output
This commit is contained in:
parent
da4dbb29b7
commit
efd2c9d05b
@ -1230,8 +1230,8 @@ def list_fallbacks():
|
||||
max_weight = max_weight_fb.fallback_weight_fraction(total_weight)
|
||||
if max_weight > TARGET_MAX_WEIGHT_FRACTION:
|
||||
error_str = 'Maximum fallback weight: %.3f%% exceeds target %.3f%%. '%(
|
||||
max_weight,
|
||||
TARGET_MAX_WEIGHT_FRACTION)
|
||||
max_weight*100.0,
|
||||
TARGET_MAX_WEIGHT_FRACTION*100.0)
|
||||
error_str += 'Try decreasing REWEIGHTING_FUDGE_FACTOR.'
|
||||
if STRICT_FALLBACK_WEIGHTS:
|
||||
print '#error ' + error_str
|
||||
|
Loading…
Reference in New Issue
Block a user