From: Angus Salkeld Date: Tue, 19 Jun 2012 23:37:23 +0000 (+1000) Subject: Fix db exception description X-Git-Tag: 2014.1~1702 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3df9355a68ad42b04448b62a4197b8ee63b03ac3;p=openstack-build%2Fheat-build.git Fix db exception description Change-Id: Ie7c1076e9cf5be1d6d63d3af7bc90933c1e588f7 Signed-off-by: Angus Salkeld --- diff --git a/heat/db/sqlalchemy/api.py b/heat/db/sqlalchemy/api.py index 5ed3a299..dc580288 100644 --- a/heat/db/sqlalchemy/api.py +++ b/heat/db/sqlalchemy/api.py @@ -174,7 +174,7 @@ def stack_delete(context, stack_id): s = stack_get(context, stack_id) if not s: raise NotFound('Attempt to delete a stack with id: %s %s' % - (stack_name, 'that does not exist')) + (stack_id, 'that does not exist')) session = Session.object_session(s)