[Rpm-maint] [rpm-software-management/rpm] Fix python ts.addErase() not raising exception on not-found packages (#1251)
Panu Matilainen
notifications at github.com
Tue Jun 2 13:46:09 UTC 2020
The code would only raise an exception if TransactionSetCore.addErase()
returned an error, but the catch is that with many kinds of argument
types we'd silently skip the whole addition because no headers were found.
This looks to be a regression introduced some eleven years ago in
commit 9b20c706a4f93266450fae2f94007343b2e8fd9e.
Fixes: #1214
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1251
-- Commit Summary --
* Fix python ts.addErase() not raising exception on not-found packages
-- File Changes --
M python/rpm/transaction.py (8)
M tests/rpmpython.at (15)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1251.patch
https://github.com/rpm-software-management/rpm/pull/1251.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1251
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200602/244c934a/attachment-0001.html>
More information about the Rpm-maint
mailing list