From a2c6f14c632fc5c992d54827e91a6304cff1a53f Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Fri, 22 Jun 2018 16:11:16 -0400 Subject: [PATCH] Fix an exception message The message contained "" instead of the row ID. Change-Id: Ifd345a3098342c8ae5b7b64054f6a130dad2a03c --- heat/db/sqlalchemy/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heat/db/sqlalchemy/api.py b/heat/db/sqlalchemy/api.py index 76581bf94d..7468e0238a 100644 --- a/heat/db/sqlalchemy/api.py +++ b/heat/db/sqlalchemy/api.py @@ -549,7 +549,8 @@ def resource_prop_data_get(context, resource_prop_data_id): resource_prop_data_id) if result is None: raise exception.NotFound( - _('ResourcePropertiesData with id %s not found') % id) + _('ResourcePropertiesData with id %s not found') % + resource_prop_data_id) return result