Hello community,
here is the log from the commit of package yast2-python-bindings for
openSUSE:Factory checked in at 2019-02-24 18:03:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-python-bindings"
Sun Feb 24 18:03:54 2019 rev:41 rq:677765 version:4.0.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes
2019-02-01 11:46:39.952477280 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833/yast2-python-bindings.changes
2019-02-24 18:03:56.083763655 +0100
@@ -1,0 +2,7 @@
+Wed Feb 20 14:41:28 UTC 2019 - [email protected]
+
+- Fix python3 bindings error showning 'unexpect exception' and no
+ trace information for errors; (bsc# 1126112).
+- 4.0.9
+
+-------------------------------------------------------------------
Old:
----
yast2-python-bindings-4.0.8.tar.bz2
New:
----
yast2-python-bindings-4.0.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-python-bindings.spec ++++++
--- /var/tmp/diff_new_pack.1kYzzW/_old 2019-02-24 18:03:56.455763529 +0100
+++ /var/tmp/diff_new_pack.1kYzzW/_new 2019-02-24 18:03:56.455763529 +0100
@@ -23,7 +23,7 @@
%endif
Name: yast2-python-bindings
-Version: 4.0.8
+Version: 4.0.9
Release: 0
Summary: Python bindings for the YaST platform
License: GPL-2.0-only
++++++ yast2-python-bindings-4.0.8.tar.bz2 ->
yast2-python-bindings-4.0.9.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.changes
new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.changes
--- old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.changes
2019-01-30 15:48:28.000000000 +0100
+++ new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.changes
2019-02-20 16:17:23.000000000 +0100
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Feb 20 14:41:28 UTC 2019 - [email protected]
+
+- Fix python3 bindings error showning 'unexpect exception' and no
+ trace information for errors; (bsc# 1126112).
+- 4.0.9
+
+-------------------------------------------------------------------
Fri Jan 18 17:39:23 UTC 2019 - [email protected]
- Update to 4.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.spec
new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.spec
--- old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.spec
2019-01-30 15:48:28.000000000 +0100
+++ new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.spec
2019-02-20 16:17:23.000000000 +0100
@@ -23,7 +23,7 @@
%endif
Name: yast2-python-bindings
-Version: 4.0.8
+Version: 4.0.9
Release: 0
Summary: Python bindings for the YaST platform
License: GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-python-bindings-4.0.8/src/YPython.cc
new/yast2-python-bindings-4.0.9/src/YPython.cc
--- old/yast2-python-bindings-4.0.8/src/YPython.cc 2019-01-30
15:48:28.000000000 +0100
+++ new/yast2-python-bindings-4.0.9/src/YPython.cc 2019-02-20
16:17:23.000000000 +0100
@@ -491,9 +491,9 @@
pystring = NULL;
if (errobj != NULL &&
(pystring = PyObject_Str(errobj)) != NULL && /* str(object) */
- (PyString_Check(pystring))
+ (PyStr_Check(pystring))
) {
- result += PyString_AsString(pystring);
+ result += PyStr_AsString(pystring);
} else {
result += "<unknown exception type>";
}
@@ -503,9 +503,9 @@
pystring = NULL;
if (errdata != NULL &&
(pystring = PyObject_Str(errdata)) != NULL &&
- (PyString_Check(pystring))
+ (PyStr_Check(pystring))
) {
- result += PyString_AsString(pystring);
+ result += PyStr_AsString(pystring);
} else {
result += "<unknown exception value>";
}
@@ -514,9 +514,9 @@
result +="; error traceback: ";
pystring = NULL;
- if (errdata != NULL &&
+ if (errtraceback != NULL &&
(pystring = PyObject_Str(errtraceback)) != NULL &&
- (PyString_Check(pystring))
+ (PyStr_AsString(pystring))
) {
PyObject *mod = PyImport_ImportModule("traceback");
if (mod) {
@@ -533,13 +533,13 @@
traceStr = PyUnicode_Join(newline, meth_result);
}
if (traceStr) {
- result += PyString_AsString(traceStr);
+ result += PyStr_AsString(traceStr);
}
Py_XDECREF(meth_result);
Py_XDECREF(traceStr);
Py_XDECREF(newline);
} else {
- result += PyString_AsString(pystring);
+ result += PyStr_AsString(pystring);
}
} else {
result += "<unknown exception traceback>";