From 79ced6fbbdda1158aef437760ee0455fb9a9016d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 19 Jan 2023 23:33:44 +0900 Subject: Remove/replace old conditional python code. Signed-off-by: Michele Calgaro --- sip/tdecore/tdeaccel.sip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sip/tdecore/tdeaccel.sip') diff --git a/sip/tdecore/tdeaccel.sip b/sip/tdecore/tdeaccel.sip index 15875a1..e8097ce 100644 --- a/sip/tdecore/tdeaccel.sip +++ b/sip/tdecore/tdeaccel.sip @@ -184,7 +184,7 @@ public: for (it = map.begin (); it != map.end (); ++it) { PyObject *iKey = PyLong_FromLong (((long) it.key ())); - PyObject *sData = SIPBytes_FromString ((char *)((TQString *)&it.data ())); + PyObject *sData = PyBytes_FromString ((char *)((TQString *)&it.data ())); if ((iKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, iKey, sData) < 0)) { -- cgit v1.2.1