chiark / gitweb /
peerdb/tripe-newpeers.in (ConfigSection.items): Report `name'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 27 May 2018 13:49:24 +0000 (14:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 11:50:38 +0000 (12:50 +0100)
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

index 1213b904aad2877afe380846c8c06dea4139554e..00361d402444f8a4116877a41aaca8d686457372 100644 (file)
@@ -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]