tfixup! implement reusing of old checksums - amprolla - devuan's apt repo merger HTML git clone git://parazyd.org/amprolla.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 487bebc466db2492983307361a16d842ccc2c896 DIR parent 66f0a884b01c8175f5f33a9c320eedcc9b8d195f HTML Author: parazyd <parazyd@dyne.org> Date: Thu, 9 Nov 2017 00:20:52 +0100 fixup! implement reusing of old checksums Diffstat: M lib/release.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/release.py b/lib/release.py t@@ -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()