# HG changeset patch # User Sylvain Thénault # Date 1372750580 -7200 # Node ID bc6e25dbfd04280a24f5c2b5d62c0d7e084f3879 # Parent c791d8fddc15dc953888d0b14afe7a0554d31d9d [web doctype] don't give through reset_xmldecl to avoid double deprecation warning diff -r c791d8fddc15 -r bc6e25dbfd04 web/request.py --- a/web/request.py Tue Jul 02 09:35:58 2013 +0200 +++ b/web/request.py Tue Jul 02 09:36:20 2013 +0200 @@ -922,7 +922,7 @@ if reset_xmldecl is not None: warn('[3.17] reset_xmldecl is deprecated as we only serve html', DeprecationWarning, stacklevel=2) - self.main_stream.set_doctype(doctype, reset_xmldecl) + self.main_stream.set_doctype(doctype) # page data management ####################################################