From 1a52dd2d8422c2d5a559cc8ea66f962c31bdcfa2 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Sat, 2 Apr 2011 17:13:25 -0700 Subject: [PATCH] Remove unneeded lambda --- gunicorn/arbiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index 55fd9ffb..f14a0a34 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -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)