示例#1
0
文件: base.py 项目: arturodr/indico
    def _processRestrictedHTML(self, e):

        Logger.get('requestHandler').info(
            'Request %s finished with ProcessRestrictedHTMLError: "%s"' %
            (id(self._req), e))

        p = errors.WPRestrictedHTML(self, escape(str(e)))
        return p.display()
示例#2
0
    def _processHtmlForbiddenTag(self, e):
        """ TODO """

        return errors.WPRestrictedHTML(self, escape(str(e))).display()
示例#3
0
    def _processRestrictedHTML(self, e):

        return errors.WPRestrictedHTML(self, escape(str(e))).display()