[#1557] treepkg/web.py should not depend on cherrypy directly.

Date:
2010-08-16 09:39
Priority:
3
State:
Open
Submitted by:
Sascha L. Teichmann (teichmann)
Assigned to:
Bernhard Herzog (bh)
Product:
none
Operating System:
All
Component:
none
Summary:
treepkg/web.py should not depend on cherrypy directly.

Detailed description
treepkg/web.py imports cherrypy.
This is necessary to run the built-in webserver.
If you are only going for static reports you don't need
this feature. The generation of reports should be
separated from the server stuff.

This will also eliminate following warnings:

/usr/lib/pymodules/python2.6/cherrypy/lib/cptools.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
/usr/lib/pymodules/python2.6/cherrypy/filters/sessionfilter.py:33: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/usr/lib/pymodules/python2.6/cherrypy/lib/cptools.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
/usr/lib/pymodules/python2.6/cherrypy/filters/sessionfilter.py:33: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha

No comments have been posted

No attached documents

No changes have been made to this item