#NEWLINE# def update_portSpecs( old_obj , translate_dict ) : #NEWLINE# #INDENT# new_port_specs = [ ] #NEWLINE# for port_spec in new_port_specs . db_portSpecs : #NEWLINE# #INDENT# new_port_specs . append ( update_portSpec ( port_spec , translate_dict ) ) #NEWLINE# #UNINDENT# return new_port_specs