Guest User

Untitled

a guest
Jul 26th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1.     @classmethod
  2.     def get_by_id(cls, context, id):
  3.         with db_api.autonested_transaction(context.session):
  4.             policy_obj = super(QosPolicy, cls).get_by_id(context, id)
  5.             if policy_obj:
  6.                 policy_obj._load_rules()
  7.         return policy_obj
Advertisement
Add Comment
Please, Sign In to add comment