Skip to content

Commit

Permalink
Pylint: enable unnecessary-lambda check
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBasti committed Jun 26, 2016
1 parent 797ecac commit 3277fcf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dns/rdtypes/IN/APL.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self, rdclass, rdtype, items):
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):
Expand Down
1 change: 0 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ disable=
undefined-variable,
unichr-builtin,
unicode-builtin,
unnecessary-lambda,
unneeded-not,
unused-argument,
unused-variable,
Expand Down

0 comments on commit 3277fcf

Please sign in to comment.