X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/dbc84ac3309e10a581233f3a2bd62ba174d247db..f82066a0b14673b6fadb1383aafd77abbd9f15ba:/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('@'):