Fixes bug 917128

Change-Id: I01c384666ae2366638fe77ffbe2f85e9e2692303
This commit is contained in:
Alvaro Lopez Garcia 2012-01-16 17:23:51 +01:00
parent a75ceec953
commit 682b61c4ec

@ -1794,8 +1794,8 @@ def network_get_all_by_uuids(context, network_uuids, project_id=None):
break
if not found:
if project_id:
raise exception.NetworkNotFoundForProject(network_uuid=uuid,
project_id=context.project_id)
raise exception.NetworkNotFoundForProject(
network_uuid=network_uuid, project_id=context.project_id)
raise exception.NetworkNotFound(network_id=network_uuid)
return result