diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-01-12 14:15:22 +1100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-01-12 10:10:05 -0500 |
commit | da968e558e89b3ee9201d6c9cdd339ef48979071 (patch) | |
tree | 7fc20c8c788aa4a5240474d144aea0030283feec /changes/bug17827 | |
parent | 16840e52e594e221069efc9bf7b65ebfb5e2d639 (diff) | |
download | tor-da968e558e89b3ee9201d6c9cdd339ef48979071.tar.gz tor-da968e558e89b3ee9201d6c9cdd339ef48979071.zip |
Fix various issues with fallback directory data handling
* support maximum history age in _avg_generic_history()
* fix division-by-zero trap in _avg_generic_history()
* skip missing (i.e. null/None) intervals in _avg_generic_history()
* Python timedelta.total_seconds() function not available in 2.6;
replace with equivalent expression
* set DEBUG logging level to make relay exclusion reasons visible
* move CUTOFF_GUARD test to end in order to expose more exclusion
reasons
Patch by "starlight", merge modifications by "teor".
Diffstat (limited to 'changes/bug17827')
0 files changed, 0 insertions, 0 deletions