Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
rpmlint
rpmlint-badness-info.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpmlint-badness-info.diff of Package rpmlint
From c887ed177b551186dc30f7528cd23c018ca2b69d Mon Sep 17 00:00:00 2001 From: Ludwig Nussel <ludwig.nussel@suse.de> Date: Thu, 4 Nov 2010 17:25:35 +0100 Subject: [PATCH] allow info messages even if badness scoring is used --- Filter.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Filter.py b/Filter.py index 4b5ca1e..baaee45 100644 --- a/Filter.py +++ b/Filter.py @@ -47,7 +47,12 @@ def _print(msgtype, pkg, reason, details): badness = 0 if threshold >= 0: badness = Config.badness(reason) - msgtype = badness and "E" or "W" + # anything with badness is an error + if badness: + msgtype == 'E' + # errors without badness become warnings + elif msgtype == 'E': + msgtype = 'W' ln = "" if pkg.current_linenum is not None: -- 1.7.1
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