def put(self, value, log = True):
        """
        Pushes ``value`` to the queue. By default, ``put`` will write to the
        transactional log. Set ``log`` to ``False`` to override this behaviour.
        """
        if log:
            if not self.transaction_log:
                raise TransactionLogError("No transaction log")
            size = pack("I", len(value))
            self._transaction((size, value) % TRX_PUSH)
        self.total_items += 1
        Queue.put(self, value)
dataset/ETHPy150Open cyberdelia/peafowl/peafowl/queue.py/PersistentQueue.put/swapped operands of `%`