changeset 454:18c175c28077

Do not show warnings caused by using cherrypy
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 23 Aug 2010 08:23:21 +0000
parents dde2a0b68dc7
children 6d65aa725f99
files treepkg/web.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)