def remove_lockfile(path):
    """ Remove lockfile. """
    path = os.path.join(path, LOCKFILE)
    try:
        os.unlink(path)
    except __HOLE__, exc:
        print 'Cannot remove lockfile:', exc
        sys.exit(1)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/scripts/repo.py/remove_lockfile