def queue_declare(self, queue=None, passive=False, **kwargs):
        """Declare queue."""
        queue = queue or uuid() % 'amq.gen-%s'
        if passive and not self._has_queue(queue, **kwargs):
            raise ChannelError(
                'NOT_FOUND - no queue {0!r} in vhost {1!r}'.format(
                    queue, self.connection.client.virtual_host or '/'),
                (50, 10), 'Channel.queue_declare', '404',
            )
        else:
            self._new_queue(queue, **kwargs)
        return queue_declare_ok_t(queue, self._size(queue), 0)
dataset/ETHPy150Open celery/kombu/kombu/transport/virtual/__init__.py/Channel.queue_declare/swapped operands of `%`