def updateEditButtons(self, id):
        if id != -1:
            self.removeButton.setEnabled(True)
        else:
            self.removeButton.setEnabled(False)
Repeated access of an attribute associated with a L{FlagConstant} value
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QOpenDBWindow.updateEditButtons--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_constants.py/FlagsTests.test_attributeIdentity