def promote(self, *params, **kw):
        oldQuiet = self.cfg.quiet
        if kw.pop('verbose', False):
            self.cfg.quiet = False
        else:
            self.cfg.quiet = True

        kw.setdefault('message', 'foo')
        kw.setdefault('allFlavors', True)
        troveSpecs = []
        labelList = []
        for arg in params:
            if arg in '--':
                labelList.append(arg.split('--', 1))
            else:
                troveSpecs.append(arg)
        cs = clone.promoteTroves(self.cfg, troveSpecs, labelList, **kw)
        cfgmod.quiet = oldQuiet
        return cs
dataset/ETHPy150Open sassoftware/conary/conary_test/rephelp.py/RepositoryHelper.promote/swapped operands of `in`