Remove redundant query from get_bay_by_uuid

Change-Id: I74dd2832ab5ef255937801827ca5c63c0728514e
This commit is contained in:
Andrew Melton 2015-01-28 08:43:24 -08:00
parent 5999adfa0d
commit 21875c20ef
1 changed files with 0 additions and 1 deletions

View File

@ -177,7 +177,6 @@ class Connection(api.Connection):
user_id = auth_token['user']['id']
query = model_query(models.Bay).filter_by(uuid=bay_uuid,
project_id=project_id, user_id=user_id)
query = model_query(models.Bay).filter_by(uuid=bay_uuid)
try:
return query.one()
except NoResultFound: