[tor-commits] [weather/master] Use "fingerprint" instead if "id" in Weather emails. Fixes: #3297

kaner at torproject.org kaner at torproject.org
Fri Oct 24 16:17:05 UTC 2014


commit 4190d98ce764de786391055a2473086c82af96a9
Author: Christian Fromme <kaner at strace.org>
Date:   Fri Oct 24 18:15:13 2014 +0200

    Use "fingerprint" instead if "id" in Weather emails. Fixes: #3297
---
 weather/weatherapp/emails.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/weather/weatherapp/emails.py b/weather/weatherapp/emails.py
index 6028e59..76a841d 100644
--- a/weather/weatherapp/emails.py
+++ b/weather/weatherapp/emails.py
@@ -157,9 +157,9 @@ def _get_router_name(fingerprint, name):
 
     spaced_fingerprint = insert_fingerprint_spaces(fingerprint) 
     if name == 'Unnamed':
-        return "(id: %s)" % spaced_fingerprint
+        return "(fingerprint: %s)" % spaced_fingerprint
     else:
-        return "%s (id: %s)" % (name, spaced_fingerprint)
+        return "%s (fingerprint: %s)" % (name, spaced_fingerprint)
 
 def _add_generic_footer(msg, unsubs_auth, pref_auth):
     """



More information about the tor-commits mailing list