[tor-commits] [stem/master] Include new attributes when printing fallback differences

atagar at torproject.org atagar at torproject.org
Fri Jan 12 18:16:53 UTC 2018


commit 7d313805d54f021bd2ecc580e778de81c3bb68ae
Author: Damian Johnson <atagar at torproject.org>
Date:   Fri Jan 12 10:12:30 2018 -0800

    Include new attributes when printing fallback differences
---
 stem/descriptor/remote.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/descriptor/remote.py b/stem/descriptor/remote.py
index c211d0ee..88215c57 100644
--- a/stem/descriptor/remote.py
+++ b/stem/descriptor/remote.py
@@ -1258,6 +1258,8 @@ def _fallback_directory_differences(previous_directories, new_directories):
       '  address: %s' % directory.address,
       '  or_port: %s' % directory.or_port,
       '  dir_port: %s' % directory.dir_port,
+      '  nickname: %s' % directory.nickname,
+      '  has_extrainfo: %s' % directory.has_extrainfo,
       '  orport_v6: %s' % orport_v6,
       '',
     ]





More information about the tor-commits mailing list