def read_units(self, fid):
        lin = self.read_line(fid)                   
        while lin[0] != ':':
            parts = lin.split()
            if parts[0]=='mass':
                self.mass = float(parts[1])
            elif parts[0]=='length':
                self.length = float(parts[1])
            elif parts[0]=='angle':
                self.angle = parts[1]
            lin = self.read_line(fid)
        return lin
Release the mutex. Consider using the object as a context manager
dataset/ETHPy150Open SheffieldML/GPy/GPy/util/mocap.py/acclaim_skeleton.read_units--crossover with--dataset/ETHPy150Open tjguk/winsys/winsys/ipc.py/Mutex.release