Commit 7f82674c by Sébastien Eustace

Fix multiple packages hashes

parent 64d9e8ce
...@@ -110,7 +110,10 @@ class Locker: ...@@ -110,7 +110,10 @@ class Locker:
packages = self._lock_packages(packages) packages = self._lock_packages(packages)
# Retrieving hashes # Retrieving hashes
for package in packages: for package in packages:
hashes[package["name"]] = package["hashes"] if package["name"] not in hashes:
hashes[package["name"]] = []
hashes[package["name"]] += package["hashes"]
del package["hashes"] del package["hashes"]
lock = { lock = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment