def parse(self, method, payload):
        try:
            if method.payload_type is None: return
            model = getattr(self.model_factory, method.payload_type)
        except AttributeError:
            raise TweepError(method.payload_type % 'No model for this payload type: %s')

        json = JSONParser.parse(self, method, payload)
        if isinstance(json, tuple):
            json, cursors = json
        else:
            cursors = None

        if method.payload_list:
            result = model.parse_list(method.api, json)
        else:
            result = model.parse(method.api, json)
        result.json = json
        if cursors:
            return result, cursors
        else:
            return result
dataset/ETHPy150Open sajao/CrisisLex/src-collect/tweepy1/parsers.py/ModelParser.parse/swapped operands of `%`