def eventFilter(self, widget, event):
        if [QtCore.QEvent.FocusIn, QtCore.QEvent.WindowActivate] in event.type():
            self.emit(QtCore.SIGNAL("tabFocused()"))
        return False
dataset/ETHPy150Open mariano/snakefire/snakefire/qtx.py/TabWidgetFocusEventFilter.eventFilter/swapped operands of `in`