X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/bf4950936875ee3bf36d1f350b19b7a135c23d2c..d3a17033e6285dfb9a7c626ec2e9403b6e1d5034:/peerdb/tripe-newpeers.in diff --git a/peerdb/tripe-newpeers.in b/peerdb/tripe-newpeers.in index 92c1a070..39529531 100644 --- a/peerdb/tripe-newpeers.in +++ b/peerdb/tripe-newpeers.in @@ -460,9 +460,9 @@ class ConfigSection (object): path.append(me.name) try: - ## If we've been this way before on another pass through then return the - ## value we found then. If we're still thinking about it then we've - ## found a cycle. + ## If we've been this way before on another pass through then return + ## the value we found then. If we're still thinking about it then + ## we've found a cycle. try: v, p = me._cache[key] except KeyError: pass else: @@ -757,7 +757,7 @@ def output(conf, cdb): if a in ('y', 'yes', 't', 'true', '1', 'on'): auto.append(sec.name) try: u = sec.get('user') except MissingKeyException: pass - else: cdb.add('U%s' % u) + else: cdb.add('U%s' % u, sec.name) url = M.URLEncode(semip = True) for key in sorted(sec.items()): if not key.startswith('@'):