[metrics-tasks/master] task-6929: fix family selection when relay is mentioned by fingerprint

commit 68e3405a78b8866c2f49cf7697a43e8091074751 Author: delber <delber@riseup.net> Date: Sat Aug 4 15:39:30 2012 +0000 task-6929: fix family selection when relay is mentioned by fingerprint --- task-6329/tor-relays-stats.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/task-6329/tor-relays-stats.py b/task-6329/tor-relays-stats.py index b6dd24c..80d1f06 100755 --- a/task-6329/tor-relays-stats.py +++ b/task-6329/tor-relays-stats.py @@ -52,7 +52,7 @@ class RelayStats(object): for relay in self.data['relays']: if family: mentions = relay.get('family', []) - mentions.append('%s' % relay['fingerprint']) + mentions.append('$%s' % relay['fingerprint']) if ('$%s' % relay['fingerprint'] not in family_relays and \ relay['nickname'] not in family_relays if 'Named' in relay['flags'] else '') or \ (family_fingerprint not in mentions and \
participants (1)
-
karsten@torproject.org