[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 68e3405a78b8866c2f49cf7697a43e8091074751
Author: delber <delber@xxxxxxxxxx>
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 \



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits