Skip to content

Commit

Permalink
Pylint: enable deprecated-lambda check
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBasti committed Jun 26, 2016
1 parent 0b369f4 commit 7854fd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dns/rdtypes/ANY/HIP.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ disable=
bad-whitespace,
bare-except,
delslice-method,
deprecated-lambda,
deprecated-method,
dict-iter-method,
fixme,
Expand Down

0 comments on commit 7854fd8

Please sign in to comment.