Home
My Page
Projects
Tree Packager

[#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

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item


This site is hosted by Intevation GmbH