def _validate_action(self, result):
        # Action can be empty
        if result == None:
            return True

        if not isinstance(result, dict):
            raise ValidationError("Action result must be dictionary")

        try:
            self._validate_msg(result['messages'])
        except KeyError:
            raise ValidationError("Action doesn't have message")

        try:
            self._validate_status(result['status'])
        except KeyError:
            raise ValidationError("Action doesn't have status")
Get SVN diff of last version.
dataset/ETHPy150Open gooddata/smoker/smoker/server/plugins/__init__.py/Result._validate_action--crossover with--dataset/ETHPy150Open facelessuser/EasyDiff/lib/svn.py/diff