Skip to content

Commit

Permalink
mmSolver.api.Attribute - fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Nov 27, 2024
1 parent c7e6345 commit 8a38174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mmSolver/_api/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self, name=None, node=None, attr=None):
if attr not in (attr_list_long + attr_list_short):
msg = 'Attribute not found on node. node=%r attr=%r'
LOG.error(msg, node, attr)
raise RuntimeError(msg)
raise RuntimeError(msg % (node, attr))

node_attr = node + '.' + attr
plug = node_utils.get_as_plug_apione(node_attr)
Expand Down

0 comments on commit 8a38174

Please sign in to comment.