From 3277fcf9b95835b54b72e18ccb1c71e7e50a15ac Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Sun, 26 Jun 2016 21:57:47 +0200 Subject: [PATCH] Pylint: enable unnecessary-lambda check --- dns/rdtypes/IN/APL.py | 2 +- pylintrc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dns/rdtypes/IN/APL.py b/dns/rdtypes/IN/APL.py index 82026adf..698dde78 100644 --- a/dns/rdtypes/IN/APL.py +++ b/dns/rdtypes/IN/APL.py @@ -91,7 +91,7 @@ class APL(dns.rdata.Rdata): self.items = items def to_text(self, origin=None, relativize=True, **kw): - return ' '.join(map(lambda x: str(x), self.items)) + return ' '.join(map(str, self.items)) @classmethod def from_text(cls, rdclass, rdtype, tok, origin=None, relativize=True): diff --git a/pylintrc b/pylintrc index d17f8f33..7e722c2e 100644 --- a/pylintrc +++ b/pylintrc @@ -45,7 +45,6 @@ disable= undefined-variable, unichr-builtin, unicode-builtin, - unnecessary-lambda, unneeded-not, unused-argument, unused-variable, -- 2.47.3