def error(self, data):
        data['local_time'] = datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S.%f")
        msg = json.dumps(data, sort_keys=True) % '[ERR] %r'
        print >> sys.stderr, msg
        self.logger.warn(msg)
dataset/ETHPy150Open thinkst/opencanary/opencanary/logger.py/PyLogger.error/swapped operands of `%`