From: Mark Wooding Date: Sun, 27 May 2018 13:49:24 +0000 (+0100) Subject: peerdb/tripe-newpeers.in (ConfigSection.items): Report `name'. X-Git-Tag: 1.5.0~67 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/4063c2b5a87394841a65addf392b4058be52e942?ds=inline peerdb/tripe-newpeers.in (ConfigSection.items): Report `name'. It's always there, even if it's synthetic. This changes the output, including a `name' item in each host, but this is harmless (or possibly even useful). Maybe this should have been `@name', but it's too late for that now. --- diff --git a/peerdb/tripe-newpeers.in b/peerdb/tripe-newpeers.in index 1213b904..00361d40 100644 --- a/peerdb/tripe-newpeers.in +++ b/peerdb/tripe-newpeers.in @@ -313,7 +313,7 @@ class ConfigSection (object): """ ## Initialize for a depth-first walk of the inheritance graph. - seen = {} + seen = { 'name': True } visiting = { me.name: True } stack = [me]