def update_high_on_enter(self):
        try:
            try:
                high = eval(unicode(self._label_hi.text()).strip())
                if self.evaluate is not None:
                    high = self.evaluate(high)
            except:
                high = self.high
                self._label_hi.setText(self.format % self.high)

            if not self.factory.is_float:
                high = int(high)

            if high < self.low:
                high = self.low + self._step_size()
                self._label_hi.setText(high % self.format)

            self.control.slider.setHigh(self._convert_to_slider(high))
            self.high = high
        except:
            pass
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/extra/bounds_editor.py/_BoundsEditor.update_high_on_enter/swapped operands of `%`