Skip to content

Commit 1a9d05f

Browse files
committed
Match string to format args
1 parent 1b4ba74 commit 1a9d05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonobject/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def __init__(self, _obj=None, **kwargs):
215215
setattr(self, attr, value)
216216
except AttributeError:
217217
raise WrappingAttributeError(
218-
"can't set attribute {attr!r} "
218+
"can't set attribute {key!r} "
219219
"on a {cls} while wrapping {data!r}".format(
220220
cls=self.__class__,
221221
key=attr,

0 commit comments

Comments
 (0)