Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lpato:sll7
yum
BZ-1690376-gracefully-handle-empty-rpm-error-li...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File BZ-1690376-gracefully-handle-empty-rpm-error-list.patch of Package yum
diff --git a/rpmUtils/transaction.py b/rpmUtils/transaction.py index 778ed2db..96e0ffc3 100644 --- a/rpmUtils/transaction.py +++ b/rpmUtils/transaction.py @@ -119,11 +119,13 @@ class TransactionWrapper: tserrors = self.ts.run(cb.callback, '') self.ts.setFlags(origflags) + if tserrors is None: + return [] + if not tserrors: + return ['Unknown error during transaction test in RPM'] reserrors = [] - if tserrors: - for (descr, (etype, mount, need)) in tserrors: - reserrors.append(descr) - + for (descr, (etype, mount, need)) in tserrors: + reserrors.append(descr) return reserrors
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor