Remove unneeded lambda

This commit is contained in:
Michael Schurter 2011-04-02 17:13:25 -07:00 committed by benoitc
parent 6fa1c52aaa
commit 1a52dd2d84

View File

@ -132,7 +132,7 @@ class Arbiter(object):
are queued. Child signals only wake up the master.
"""
if self.PIPE:
map(lambda p: os.close(p), self.PIPE)
map(os.close, self.PIPE)
self.PIPE = pair = os.pipe()
map(util.set_non_blocking, pair)
map(util.close_on_exec, pair)