def versionChanged(self, version):
        window = self.window()
        self.vtversion = version
        if -1 > self.vtversion:
            window.qactions['mashup'].setEnabled(True)
        else:
            window.qactions['mashup'].setEnabled(False)
        #print "      *** mashup view versionChanged ", self.vtversion
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/mashups/mashup_view.py/QMashupView.versionChanged/swapped operands of `>`