diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-12-05 20:53:10 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-12-06 08:22:05 +0000 |
commit | 8dc6fa90230799c4249e5a70c4f7dca137ec26bc (patch) | |
tree | 21bc6724a0e134ccee0a587cc27beaad3a3a826f | |
parent | aaaa1f1d214fa796af698123bd0e1005f5f9ea15 (diff) |
libshiboken: Remove debug print statement
Amends f36f85d0a58b742b9fe0c947a3f402563de4e389.
Task-number: PYSIDE-2136
Fixes: PYSIDE-2142
Change-Id: I44766d1b791dde486918da12484bda8d05f6822d
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 340e9bfb2f98a8824400434086c8c8475c28cede)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/shiboken6/libshiboken/sbkenum.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sources/shiboken6/libshiboken/sbkenum.cpp b/sources/shiboken6/libshiboken/sbkenum.cpp index c5eae2fbb..4bac1c9a5 100644 --- a/sources/shiboken6/libshiboken/sbkenum.cpp +++ b/sources/shiboken6/libshiboken/sbkenum.cpp @@ -11,12 +11,10 @@ #include "autodecref.h" #include "sbkpython.h" #include "signature.h" -#include "helper.h" #include <cstring> #include <vector> #include <sstream> -#include <iostream> #define SbkEnumType_Check(o) (Py_TYPE(Py_TYPE(o)) == SbkEnumType_TypeF()) using enum_func = PyObject *(*)(PyObject *, PyObject *); @@ -880,9 +878,6 @@ EnumValueType getValue(PyObject *enumItem) if (useOldEnum) return reinterpret_cast<SbkEnumObject *>(enumItem)->ob_value; - std::cerr << __FUNCTION__ << ' ' << Shiboken::debugPyObject(enumItem) - << " err=" << Shiboken::debugPyObject(PyErr_Occurred()) << '\n'; - AutoDecRef pyValue(PyObject_GetAttrString(enumItem, "value")); return PyLong_AsLongLong(pyValue); } |