#NEWLINE# def get( self , tags ) : #NEWLINE# #INDENT# 'Find an adequate value for this field from a dict of tags.' #NEWLINE# value = tags . get ( self . name , '' ) #NEWLINE# for name in self . alternate_tags : #NEWLINE# #INDENT# value = ( name or tags . get ( name , '' ) ) #NEWLINE# #UNINDENT# value = ( value or self . default ) #NEWLINE# return value