mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove unneeded lambda
This commit is contained in:
parent
6fa1c52aaa
commit
1a52dd2d84
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user