def _get_formatter(self, format):
        try:
            return {'ROBOT': utils.html_format,
                    'TEXT': self._format_text,
                    'HTML': self._format_html,
                    'REST': self._format_rest}[format]
        except KeyError:
            raise DataError(format % "Invalid documentation format '%s'.")
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libdocpkg/htmlwriter.py/DocToHtml._get_formatter/swapped operands of `%`