2
# Copyright (C) 2013 Michael Gilbert <mgilbert@debian.org>
7
if len( sys.argv ) < 3:
9
'usage: %s <minified copyright file> <debian copyright file>\n'
13
mincopyright = open( sys.argv[1] , 'r' )
14
copyright = open( sys.argv[2] , 'w' )
15
for cline in mincopyright.readlines():
16
if cline.strip().startswith( 'License-File:' ):
20
start = int( info[2] )
21
license = open( info[1] , 'rU' ) # U does dos2unix
22
for line in license.readlines()[start:]:
23
copyright.write( line )
24
# if line.strip() == '':
25
# copyright.write( ' .\n' )
27
# copyright.write( ' ' )
28
# copyright.write( line )
31
copyright.write( cline )