

def exit_handler(signal, frame):
    global Listen
    if isinstance(Listen, basestring):
        try:
            os.unlink(Listen)
        except:
            (ex, value, trace) = sys.exc_info()
            sys.stderr.write(('Failed to remove socket "%s": %s\n' % (Listen, str(value))))
    sys.exit(0)

dataset/ETHPy150Open nginxinc/nginx-ldap-auth/nginx-ldap-auth-daemon.py exit_handler/original