From 6264e9edd4bfacace9eaea6c6a5d4ec2ae2a08c0 Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 17 Dec 2012 16:45:10 +0100 Subject: [PATCH] fix typo... --- gunicorn/sock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/sock.py b/gunicorn/sock.py index 78b79f25..4b56393d 100644 --- a/gunicorn/sock.py +++ b/gunicorn/sock.py @@ -79,10 +79,10 @@ class UnixSocket(BaseSocket): FAMILY = socket.AF_UNIX - def __init__(self, address, conf, log, fd=None): + def __init__(self, addr, conf, log, fd=None): if fd is None: try: - os.remove(address) + os.remove(addr) except OSError: pass super(UnixSocket, self).__init__(addr, conf, log, fd=fd)