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

Bug 237625

Summary: app-portage/layman-1.2.0-r1 deprecation warnings under python-2.6 (patch included)
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Gunnar Wrobel (RETIRED) <wrobel>
Severity: trivial CC: spatz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230205    
Attachments: layman-1.2.0-py26-deprecations.patch

Description Mike Auty (RETIRED) gentoo-dev 2008-09-14 12:32:17 UTC

Just a quick patch for the deprecation warnings under python-2.6.  They now suggest hashlib instead of md5/sha1 and subprocess instead of popen.  Please check that the patch has the expected results around the popen area, it seemed to work identically for me when using -q, but a second opinion can't hurt...  5:)
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-09-14 12:32:45 UTC
Created attachment 165392 [details, diff]
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-14 14:25:12 UTC
You should use subprocess.PIPE instead of PIPE.
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2008-11-15 10:37:02 UTC
Thanks for the patch! Fixed in layman-1.2.1. Available via portage.