#NEWLINE# def _mangle( self , entry ) : #NEWLINE# #INDENT# for key in [ 'Build-Depends' , 'Build-Depends-Indep' ] : #NEWLINE# #INDENT# if ( key in entry ) : #NEWLINE# #INDENT# entry [ key ] = [ x . split ( ) [ 0 ] . strip ( ) for x in entry [ key ] . split ( ',' ) ] #NEWLINE# #UNINDENT# #UNINDENT# if ( 'Uploaders' in entry ) : #NEWLINE# #INDENT# entry [ 'Uploaders' ] = [ x . strip ( ) for x in entry [ 'Uploaders' ] . split ( ',' ) ] #NEWLINE# #UNINDENT# if ( 'Package-List' in entry ) : #NEWLINE# #INDENT# entry [ 'Package-List' ] = [ { #NEWLINE# #INDENT# 'name' : y [ 0 ] , #NEWLINE# 'type' : y [ 1 ] , #NEWLINE# 'section' : y [ 2 ] , #NEWLINE# 'priority' : y [ 3 ] , #NEWLINE# #UNINDENT# } for y in [ x . split ( ) for x in entry [ 'Package-List' ] . split ( '\n' ) ] ] #NEWLINE# #UNINDENT# for key in [ 'Files' , 'Checksums-Sha256' , 'Checksums-Sha1' ] : #NEWLINE# #INDENT# entry [ key ] = [ { #NEWLINE# #INDENT# 'hash' : y [ 0 ] , #NEWLINE# 'size' : y [ 1 ] , #NEWLINE# 'file' : y [ 2 ] , #NEWLINE# #UNINDENT# } for y in [ x . split ( ) for x in entry [ key ] . split ( '\n' ) ] ] #NEWLINE# #UNINDENT# return entry