URI: 
       tmerge Contents-source.gz properly - 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 929ad53476ff4eb19260ae0d34a21b224e7ec0e4
   DIR parent df93b42b9e0e17c332adc5684de4d0e072858f1a
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Thu, 13 Jul 2017 11:37:50 +0200
       
       merge Contents-source.gz properly
       
       Diffstat:
         M amprolla_merge_contents.py          |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/amprolla_merge_contents.py b/amprolla_merge_contents.py
       t@@ -84,7 +84,10 @@ def main():
            cont = []
            for i in arches:
                for j in categories:
       -            cont.append(join(j, i.replace('binary', 'Contents')+'.gz'))
       +            if i != 'source':
       +                cont.append(join(j, i.replace('binary', 'Contents')+'.gz'))
       +            else:
       +                cont.append(join(j, 'Contents-'+i+'.gz'))
        
            mrgpool = Pool(cpunm)
            mrgpool.map(main_merge, cont)
       t@@ -96,4 +99,3 @@ if __name__ == '__main__':
            main()
            t2 = time()
            print('total time: %s' % (t2 - t1))
       -