Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 358357

Summary: app-admin/webapp-config: obsoleted by recent python2 module use
Product: Gentoo Linux Reporter: Carlo Marcelo Arenas Belon <carenas>
Component: [OLD] UnspecifiedAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED DUPLICATE    
Severity: minor CC: jmbsvicetto
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://webapp-config.svn.sourceforge.net/viewvc/webapp-config/trunk/webapp-config/WebappConfig/content.py?revision=30&view=markup
Whiteboard:
Package list:
Runtime testing required: ---

Description Carlo Marcelo Arenas Belon 2011-03-11 08:51:04 UTC
as shown by :

/usr/lib64/python2.6/site-packages/WebappConfig/content.py:27: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, re, os, os.path

and when it is called as part of a deployment (in this example for ganglia web frontend on lighttpd) :

 * vhosts USE flag not set - auto-installing using webapp-config
 * This is an installation
 * ganglia-3.1.7-r2 is not installed - using install mode
 * Running /usr/sbin/webapp-config -I -h localhost -u root -d /ganglia ganglia 3.1.7-r2


Reproducible: Always

Steps to Reproduce:
1. upgrade python to current stable version (2.6.6 for amd64)
2. install an application that uses webapp-config
3.
Actual Results:  
deprecation warning

Expected Results:  
no deprecation warning
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-22 11:06:12 UTC

*** This bug has been marked as a duplicate of bug 282831 ***