# HG changeset patch # User Andre Heinecke # Date 1282551801 0 # Node ID 18c175c28077a80385fbbae10dfb27ed087bf08e # Parent dde2a0b68dc7f6052e4ebb23c974f9e11c5aa5b4 Do not show warnings caused by using cherrypy diff -r dde2a0b68dc7 -r 18c175c28077 treepkg/web.py --- a/treepkg/web.py Fri Aug 20 16:27:31 2010 +0000 +++ b/treepkg/web.py Mon Aug 23 08:23:21 2010 +0000 @@ -11,6 +11,10 @@ from genshi.template import TemplateLoader +# TODO see issue #1557 eliminate the dependency on cherrypy +# For now just ignore the warnings caused by cherrypy +import warnings +warnings.simplefilter("ignore", category=DeprecationWarning) import cherrypy from cherrypy import expose from cherrypy.lib import cptools