Fix an exception message
The message contained "<built-in function id>" instead of the row ID. Change-Id: Ifd345a3098342c8ae5b7b64054f6a130dad2a03c
This commit is contained in:
parent
9709f71a86
commit
a2c6f14c63
|
@ -549,7 +549,8 @@ def resource_prop_data_get(context, resource_prop_data_id):
|
||||||
resource_prop_data_id)
|
resource_prop_data_id)
|
||||||
if result is None:
|
if result is None:
|
||||||
raise exception.NotFound(
|
raise exception.NotFound(
|
||||||
_('ResourcePropertiesData with id %s not found') % id)
|
_('ResourcePropertiesData with id %s not found') %
|
||||||
|
resource_prop_data_id)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue