]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix db exception description
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 19 Jun 2012 23:37:23 +0000 (09:37 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Tue, 19 Jun 2012 23:37:23 +0000 (09:37 +1000)
Change-Id: Ie7c1076e9cf5be1d6d63d3af7bc90933c1e588f7
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/db/sqlalchemy/api.py

index 5ed3a2995a9afc91c754b709542786b013846ff7..dc58028892f25e1f5d4db0a4a1cc3f562943cc42 100644 (file)
@@ -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)