Fix an exception message

The message contained "<built-in function id>" instead of the row ID.

Change-Id: Ifd345a3098342c8ae5b7b64054f6a130dad2a03c
This commit is contained in:
Zane Bitter 2018-06-22 16:11:16 -04:00
parent 9709f71a86
commit a2c6f14c63
1 changed files with 2 additions and 1 deletions

View File

@ -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