#NEWLINE# def extract_field( self , la_file , fieldname ) : #NEWLINE# #INDENT# for line in open ( la_file ) : #NEWLINE# #INDENT# arr = line . strip ( ) . split ( '=' ) #NEWLINE# if ( arr [ 0 ] == fieldname ) : #NEWLINE# #INDENT# return line [ 1 ] [ 1 : ( - 1 ) ] #NEWLINE# #UNINDENT# #UNINDENT# return None