amprolla

devuan's apt repo merger
git clone git://parazyd.org/amprolla.git
Log | Files | Refs | README | LICENSE

commit 487bebc466db2492983307361a16d842ccc2c896
parent 66f0a884b01c8175f5f33a9c320eedcc9b8d195f
Author: parazyd <parazyd@dyne.org>
Date:   Thu,  9 Nov 2017 00:20:52 +0100

fixup! implement reusing of old checksums

Diffstat:
Mlib/release.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/release.py b/lib/release.py @@ -72,8 +72,10 @@ def write_release(oldrel, newrel, filelist, r, sign=True, rewrite=True): rehash_release(filelist, new, r) else: info('Reusing old checksums') - for i, j in local_rel.items(): - new.write(' %s %8s %s\n' % (j[0], j[1], i)) + for csum in checksums: + new.write('%s:\n' % csum['name']) + for i, j in local_rel.items(): + new.write(' %s %8s %s\n' % (j[0], j[1], i)) new.close()