App: [skip ci] use better deprecation warning as used in PR 4335

This commit is contained in:
wmayer
2021-01-30 17:27:08 +01:00
parent b896bb4f2a
commit 096e538c9e

View File

@@ -203,7 +203,8 @@ PyObject* ExtensionContainerPy::addExtension(PyObject *args) {
return NULL;
if (proxy) {
PyErr_SetString(PyExc_DeprecationWarning, "A proxy object as seconbd argument is not needed any more. Please adjust your code");
PyErr_SetString(PyExc_DeprecationWarning, "Second argument is deprecated. It is ignored and will be removed in future versions. "
"The default Python feature proxy is used for extension method overrides.");
PyErr_Print();
}