#NEWLINE# def _get_l2_policy( self , context , l2_policy_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . _get_by_id ( context , L2Policy , l2_policy_id ) #NEWLINE# #UNINDENT# except exc . NoResultFound : #NEWLINE# #INDENT# raise gpolicy . L2PolicyNotFound ( l2_policy_id = self )