Skip to content

Commit

Permalink
App: [skip ci] use better deprecation warning as used in PR 4335
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 30, 2021
1 parent b896bb4 commit 096e538
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App/ExtensionContainerPyImp.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 096e538

Please sign in to comment.