From 3df9355a68ad42b04448b62a4197b8ee63b03ac3 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Wed, 20 Jun 2012 09:37:23 +1000 Subject: [PATCH] Fix db exception description Change-Id: Ie7c1076e9cf5be1d6d63d3af7bc90933c1e588f7 Signed-off-by: Angus Salkeld --- heat/db/sqlalchemy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/db/sqlalchemy/api.py b/heat/db/sqlalchemy/api.py index 5ed3a2995a..dc58028892 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)