def appendMonitoredLocations(self, spec, value):
        """ getMonitoredLocations(spec: tuple, value: location) -> None
        Return the monitored location associated with spec

        """
        key = ((spec[0]['locator'], spec[0]['version']), spec[1], spec[2])
        if self.monitoredPipelines in key:
            self.monitoredPipelines[key].append(value)
        else:
            self.monitoredPipelines[key] = [value]
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_tabcontroller.py/StandardWidgetTabController.appendMonitoredLocations/swapped operands of `in`