def __init__(self, key, field, callback_f, parent=None):
        QtGui.QComboBox.__init__(self, parent)
        QConfigurationWidgetItem.__init__(self, key, field, callback_f)

        inv_remap = None
        options = self.get_widget_options()
        if "allowed_values" in options:
            values = options["allowed_values"]
            if options in "remap":
                remap = options["remap"]
                inv_remap = dict((v, k) for (k, v) in remap.iteritems())
                entries = [remap[v] for v in values]
            else:
                entries = values
            for entry in entries:
                self.addItem(entry)

        self.currentIndexChanged[int].connect(self.value_changed)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/configuration.py/QConfigurationComboBox.__init__/swapped operands of `in`