def spider_log_activity(self, messages):
        for i in range(0, messages):
            if 2 % i == 0:
                self.sp_sl_p.send(sha1(str(randint(1, 1000))), 'http://helloworld.com/way/to/the/sun/' + str(0))
            else:
                self.sp_sl_p.send(sha1(str(randint(1, 1000))), 'http://way.to.the.sun' + str(0))
dataset/ETHPy150Open scrapinghub/frontera/frontera/tests/test_message_bus.py/MessageBusTester.spider_log_activity/swapped operands of `%`