diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-30 03:18:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-30 03:18:07 +0000 |
commit | 9a4b31a59d24cd5aca28d326e44bce66683c9048 (patch) | |
tree | 34a7585a97c8ee8b8f2f568e09487cd16a6e207c /bin/fperms | |
parent | d7b88e3f8f60b30b54b5033f1391d1739175e6e3 (diff) | |
download | portage-9a4b31a59d24cd5aca28d326e44bce66683c9048.tar.gz portage-9a4b31a59d24cd5aca28d326e44bce66683c9048.tar.bz2 portage-9a4b31a59d24cd5aca28d326e44bce66683c9048.zip |
Avoid python-2.6 deprecation warnings for md5 and sha modules by trying
to import hashlib first and then falling back to the deprecated modules
if necessary. Thanks to ColdWind for reporting.
svn path=/main/trunk/; revision=10854
Diffstat (limited to 'bin/fperms')
0 files changed, 0 insertions, 0 deletions