Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-python-bindings for 
openSUSE:Factory checked in at 2021-08-19 12:49:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-python-bindings"

Thu Aug 19 12:49:16 2021 rev:48 rq:912871 version:4.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes  
    2021-05-02 18:36:25.888867159 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-python-bindings.new.1899/yast2-python-bindings.changes
    2021-08-19 12:49:20.109443716 +0200
@@ -1,0 +2,6 @@
+Wed Aug 17 18:53:41 UTC 2021 - Petr Pavlu <petr.pa...@suse.com>
+
+- Fix backtrace formatting for Python exceptions (bsc#1181595).
+- 4.4.1
+
+-------------------------------------------------------------------

Old:
----
  yast2-python-bindings-4.4.0.tar.bz2

New:
----
  yast2-python-bindings-4.4.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-python-bindings.spec ++++++
--- /var/tmp/diff_new_pack.LLjPQy/_old  2021-08-19 12:49:20.633442966 +0200
+++ /var/tmp/diff_new_pack.LLjPQy/_new  2021-08-19 12:49:20.637442961 +0200
@@ -23,7 +23,7 @@
 %bcond_with python2
 %endif
 Name:           yast2-python-bindings
-Version:        4.4.0
+Version:        4.4.1
 Release:        0
 Summary:        Python bindings for the YaST platform
 License:        GPL-2.0-only

++++++ yast2-python-bindings-4.4.0.tar.bz2 -> 
yast2-python-bindings-4.4.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-python-bindings-4.4.0/package/yast2-python-bindings.changes 
new/yast2-python-bindings-4.4.1/package/yast2-python-bindings.changes
--- old/yast2-python-bindings-4.4.0/package/yast2-python-bindings.changes       
2021-04-30 18:19:14.000000000 +0200
+++ new/yast2-python-bindings-4.4.1/package/yast2-python-bindings.changes       
2021-08-18 12:06:43.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Aug 17 18:53:41 UTC 2021 - Petr Pavlu <petr.pa...@suse.com>
+
+- Fix backtrace formatting for Python exceptions (bsc#1181595).
+- 4.4.1
+
+-------------------------------------------------------------------
 Tue Apr 20 13:51:55 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
 
 - 4.4.0 (bsc#1185510)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-python-bindings-4.4.0/package/yast2-python-bindings.spec 
new/yast2-python-bindings-4.4.1/package/yast2-python-bindings.spec
--- old/yast2-python-bindings-4.4.0/package/yast2-python-bindings.spec  
2021-04-30 18:19:14.000000000 +0200
+++ new/yast2-python-bindings-4.4.1/package/yast2-python-bindings.spec  
2021-08-18 12:06:43.000000000 +0200
@@ -23,7 +23,7 @@
 %bcond_with python2
 %endif
 Name:           yast2-python-bindings
-Version:        4.4.0
+Version:        4.4.1
 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.4.0/src/YPython.cc 
new/yast2-python-bindings-4.4.1/src/YPython.cc
--- old/yast2-python-bindings-4.4.0/src/YPython.cc      2021-04-30 
18:19:14.000000000 +0200
+++ new/yast2-python-bindings-4.4.1/src/YPython.cc      2021-08-18 
12:06:43.000000000 +0200
@@ -487,7 +487,10 @@
     string result = "error type: ";
     /* get latest python exception info */
     PyErr_Fetch(&errobj, &errdata, &errtraceback);
+
+    /* normalize the value to assure it is be an exception object */
     PyErr_NormalizeException(&errobj, &errdata, &errtraceback);
+
     pystring = NULL;
     if (errobj != NULL &&
             (pystring = PyObject_Str(errobj)) != NULL &&     /* str(object) */
@@ -541,6 +544,7 @@
         } else {
             result += PyStr_AsString(pystring);
         }
+        Py_XDECREF(mod);
     } else {
         result += "<unknown exception traceback>";
     }

Reply via email to