From be156e9f2ac58706c7fd69df06cbd5259ec20675 Mon Sep 17 00:00:00 2001 From: Jason Koelker Date: Thu, 15 Sep 2011 13:47:16 -0500 Subject: revert last change --- nova/db/sqlalchemy/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nova') diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py index 8cc56c3f9..dc99834e4 100644 --- a/nova/db/sqlalchemy/api.py +++ b/nova/db/sqlalchemy/api.py @@ -1297,9 +1297,9 @@ def instance_get_all_by_filters(context, filters, instance_uuids=None): if not uuids: return [] - instances = _build_instance_get(context, session=session).\ - filter(models.Instance.uuid.in_(uuids)).\ - all() + instances = session.query(models.Instance).\ + filter(models.Instance.uuid.in_(uuids)).\ + all() # Now filter on everything else for regexp matching.. # For filters not in the list, we'll attempt to use the filter_name -- cgit