#NEWLINE# def get_portSpec_by_name( self , name ) : #NEWLINE# #INDENT# if ( self . _port_specs is None ) : #NEWLINE# #INDENT# self . make_port_specs ( ) #NEWLINE# #UNINDENT# if ( name in self . _port_specs ) : #NEWLINE# #INDENT# return self . _port_specs [ name ] #NEWLINE# #UNINDENT# return None