def SetUpVectorAxis(self, axis):
        '''Set the up vector axis'''
        try:
            self.component.PropertyList.Find('UpDirection').Data = self.kAxes[axis]
        except KeyError:
            raise Exception(axis % "Invalid axis '%s'")
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/moBu/site-packages/PyMoBu-0.2/pymobu/components/constraints.py/PMBPathConstraint.SetUpVectorAxis/swapped operands of `%`