diff --git a/dns/rdtypes/ANY/HIP.py b/dns/rdtypes/ANY/HIP.py index e0cd2755c..fbe955c35 100644 --- a/dns/rdtypes/ANY/HIP.py +++ b/dns/rdtypes/ANY/HIP.py @@ -53,7 +53,7 @@ def to_text(self, origin=None, relativize=True, **kw): for server in self.servers: servers.append(server.choose_relativity(origin, relativize)) if len(servers) > 0: - text += (u' ' + u' '.join(map(lambda x: x.to_unicode(), servers))) + text += (u' ' + u' '.join((x.to_unicode() for x in servers))) return u'%u %s %s%s' % (self.algorithm, hit, key, text) @classmethod diff --git a/pylintrc b/pylintrc index c9b4f9664..8d1c27d1b 100644 --- a/pylintrc +++ b/pylintrc @@ -23,7 +23,6 @@ disable= bad-whitespace, bare-except, delslice-method, - deprecated-lambda, deprecated-method, dict-iter-method, fixme,