[Treepkg-commits] r414 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 23 10:23:22 CEST 2010


Author: aheinecke
Date: 2010-08-23 10:23:21 +0200 (Mon, 23 Aug 2010)
New Revision: 414

Modified:
   trunk/treepkg/web.py
Log:
Do not show warnings caused by using cherrypy


Modified: trunk/treepkg/web.py
===================================================================
--- trunk/treepkg/web.py	2010-08-20 16:27:31 UTC (rev 413)
+++ trunk/treepkg/web.py	2010-08-23 08:23:21 UTC (rev 414)
@@ -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



More information about the Treepkg-commits mailing list