Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
rpmlint
no-badness-return.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-badness-return.diff of Package rpmlint
From: Some One <nobody@opensuse.org> Date: Thu, 9 Apr 2015 14:55:39 +0200 Subject: [PATCH] no-badness-return.diff =================================================================== --- Filter.py | 2 +- rpmlint | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: rpmlint-rpmlint-1.10/Filter.py =================================================================== --- rpmlint-rpmlint-1.10.orig/Filter.py +++ rpmlint-rpmlint-1.10/Filter.py @@ -130,7 +130,7 @@ def printAllReasons(): if len(last_reason): printDescriptions(last_reason) last_reason = reason - __print(diag) + __print(diag[:-1]) if Config.info and len(last_reason): printDescriptions(last_reason) _diagnostic = list() Index: rpmlint-rpmlint-1.10/rpmlint =================================================================== --- rpmlint-rpmlint-1.10.orig/rpmlint +++ rpmlint-rpmlint-1.10/rpmlint @@ -206,7 +206,7 @@ def main(): % (packages_checked, specfiles_checked, printed_messages["E"], printed_messages["W"])) - if printed_messages["E"] > 0: + if badnessThreshold() < 0 and printed_messages["E"] > 0: sys.exit(64) sys.exit(0)
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