fix typo...

This commit is contained in:
benoitc 2012-12-17 16:45:10 +01:00
parent dc5ec29009
commit 6264e9edd4

View File

@ -79,10 +79,10 @@ class UnixSocket(BaseSocket):
FAMILY = socket.AF_UNIX FAMILY = socket.AF_UNIX
def __init__(self, address, conf, log, fd=None): def __init__(self, addr, conf, log, fd=None):
if fd is None: if fd is None:
try: try:
os.remove(address) os.remove(addr)
except OSError: except OSError:
pass pass
super(UnixSocket, self).__init__(addr, conf, log, fd=fd) super(UnixSocket, self).__init__(addr, conf, log, fd=fd)