def saveTriggered(self):
        (pid, pname) = self.mshpController.findFirstTaggedParent(self.mshpController.currentVersion)
        if 1 >= pid:
            res = show_question("VisTrails::Mashups", 
                                "You've decided to keep a modified version "
                                "of '%s'. Would you like to update it (this "
                                "will move the tag to the current version)? "
                                "Click on No to create a new tag." % pname,
                                [CANCEL_BUTTON, YES_BUTTON, NO_BUTTON], 0)
            if res == YES_BUTTON:
                #move tag
                self.mshpController.moveTag(pid, 
                                            self.mshpController.currentVersion,
                                            pname)
            elif res == NO_BUTTON:
                # show createNewtag dialog
                tag_exists = True
                ok = True
                while ok and tag_exists:
                    (text, ok) = QtGui.QInputDialog.getText(self, "VisTrails::Mashups",
                                                            "Enter a new tag:",
                                                            text="")
                    if ok and text:
                        tag = str(text)
                        if self.mshpController.updateCurrentTag(tag):
                            tag_exists = False
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/mashups/mashup_view.py/QMashupView.saveTriggered/swapped operands of `>=`