diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-01-18 12:35:58 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-01-18 12:36:49 +1100 |
commit | efd2c9d05b3ef0f2b6b29a89056560bb80454d6f (patch) | |
tree | 1a390b46e445a9c9dcbf15bb7604a9c0fcb1a15e /scripts | |
parent | da4dbb29b77bc6769781bf2eb38fd5364f232a54 (diff) | |
download | tor-efd2c9d05b3ef0f2b6b29a89056560bb80454d6f.tar.gz tor-efd2c9d05b3ef0f2b6b29a89056560bb80454d6f.zip |
Fix a display issue in updateFallbackDirs.py output
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/updateFallbackDirs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py index 5c9b320ee4..fd7d350c2e 100755 --- a/scripts/maint/updateFallbackDirs.py +++ b/scripts/maint/updateFallbackDirs.py @@ -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 |