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

Bug 300041

Summary: [patch] app-misc/klive uses deprecated md5 module
Product: Gentoo Linux Reporter: Marco Leogrande <dark.knight.ita>
Component: Current packagesAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED WONTFIX    
Severity: minor CC: stefano.priore
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Remove the deprecated code
Updated app-misc/klive-0.28 ebuild

Description Marco Leogrande 2010-01-07 13:52:46 UTC
app-misc/klive-0.28 uses Python modules deprecated as of Python 2.6

# /etc/init.d/klive start
klive              | * Starting KLive ...
klive              |/usr/share/klive/klive.tac:80: DeprecationWarning: the md5 module is deprecated; use hashlib instead
klive              |  import sys, os, struct, md5, re, glob, stat, zlib, socket                                                                        [ ok ]

While this warning makes no harm, it pollutes the init script output :)

I will attach a patch that solves the issue and the updated ebuild.
Comment 1 Marco Leogrande 2010-01-07 13:54:02 UTC
Created attachment 215541 [details, diff]
Remove the deprecated code
Comment 2 Marco Leogrande 2010-01-07 13:55:06 UTC
Created attachment 215543 [details]
Updated app-misc/klive-0.28 ebuild
Comment 3 Pacho Ramos gentoo-dev 2012-12-25 13:30:55 UTC
dropped