#NEWLINE# def _generate_lines( self ) : #NEWLINE# #INDENT# for supplier in self . suppliers : #NEWLINE# #INDENT# for code in self . suppliers [ supplier ] : #NEWLINE# #INDENT# part = self . suppliers [ supplier ] [ code ] [ 0 ] #NEWLINE# refs = [ ] #NEWLINE# for part in self . suppliers [ supplier ] [ code ] : #NEWLINE# #INDENT# refs . append ( part [ 'ref' ] ) #NEWLINE# #UNINDENT# line = Line ( refs , part [ 'val' ] , part [ 'ftp' ] , supplier , code ) #NEWLINE# self . lines . append ( line )