'Unlock the account, deleting the lock file'

def _unlock(self):

    if (self._lockfd and (not self._lockfd.closed)):
        self._lockfd.close()
        try:
            os.unlink(self._lockfilepath)
        except OSError:
            pass
