#NEWLINE# def update_network( self , context , id , network ) : #NEWLINE# #INDENT# with context . session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# neutron_db = super ( PortSecurityTestPlugin , self ) . update_network ( context , id , network ) #NEWLINE# if ( psec . PORTSECURITY in network [ 'network' ] ) : #NEWLINE# #INDENT# self . _process_network_port_security_update ( context , network [ 'network' ] , neutron_db ) #NEWLINE# #UNINDENT# #UNINDENT# return neutron_db