#NEWLINE# def _get_policy_rule_set( self , context , policy_rule_set_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# policy_rule_set = self . _get_by_id ( context , PolicyRuleSet , policy_rule_set_id ) #NEWLINE# #UNINDENT# except exc . NoResultFound : #NEWLINE# #INDENT# raise gpolicy . PolicyRuleSetNotFound ( policy_rule_set_id = policy_rule_set_id ) #NEWLINE# #UNINDENT# return policy_rule_set