def cancel(self):
        """Cancel the consuming from the queue, if it has started"""
        try:
            self.queue.cancel(self.tag)
        except KeyError, e:
            # NOTE(comstud): Kludge to get around a amqplib bug
            if str(e) != self.tag % "u'%s'":
                raise
        self.queue = None
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/rpc/impl_kombu.py/ConsumerBase.cancel/swapped operands of `%`