Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCHES] Fix md5 refs in vartree
Date: Tue, 28 Feb 2017 10:12:11
1 Hi,
3 Here's a prequel to my other patch set. It cleans up the use of MD5
4 in vartree.
6 Currently, MD5 is loaded from three different locations -- most of
7 merging code uses portage.checksum high-level functions, one bit uses
8 implementation detail of portage.checksum and one bit imports hashlib
9 directly.
11 I've replaced the use of portage.checksum implementation detail with
12 another use of hashlib, and removed the compatibility for Python < 2.5.
13 I think it's a reasonable temporary measure until someone on friend
14 terms with the code reworks it not to use MD5.
16 --
17 Best regards,
18 Michał Górny