From 4063c2b5a87394841a65addf392b4058be52e942 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 27 May 2018 14:49:24 +0100 Subject: [PATCH] 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. --- peerdb/tripe-newpeers.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.11.0