Merge "fix shared-router/metadata patch merge codes bug"

This commit is contained in:
Jenkins 2015-02-19 14:44:31 +00:00 committed by Gerrit Code Review
commit df784cce90

View File

@ -53,7 +53,6 @@ def get_nsxv_router_binding(session, router_id):
def get_nsxv_router_binding_by_edge(session, edge_id): def get_nsxv_router_binding_by_edge(session, edge_id):
with session.begin(subtransactions=True):
return (session.query(nsxv_models.NsxvRouterBinding). return (session.query(nsxv_models.NsxvRouterBinding).
filter_by(edge_id=edge_id).first()) filter_by(edge_id=edge_id).first())