aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-09-25 17:08:58 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-09-25 17:08:58 +0200
commit0dc55e6b67c729dabe2dbdad3bb21ca9ba9b2582 (patch)
tree33495197ac9ab73e5e572f7670c3861a112a0bf4 /sources/pyside2
parentaeccae345301738e8bd9016739ce0113d40301a6 (diff)
parentdf9bd424b12e65b0ee40383c31d0154f8295300d (diff)
Merge remote-tracking branch 'origin/5.13' into 5.14
Diffstat (limited to 'sources/pyside2')
-rw-r--r--sources/pyside2/libpyside/pyside.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside2/libpyside/pyside.cpp b/sources/pyside2/libpyside/pyside.cpp
index 9ee20f461..ffa837a01 100644
--- a/sources/pyside2/libpyside/pyside.cpp
+++ b/sources/pyside2/libpyside/pyside.cpp
@@ -147,7 +147,8 @@ bool fillQtProperties(PyObject *qObj, const QMetaObject *metaObj, PyObject *kwds
return false;
}
if (!accept) {
- PyErr_Format(PyExc_AttributeError, "'%S' is not a Qt property or a signal", key);
+ PyErr_Format(PyExc_AttributeError, "'%s' is not a Qt property or a signal",
+ propName.constData());
return false;
}
}