2011-05-17 12:42:54 +02:00
|
|
|
From 75b89dd25fc1d653131f27702030b8b829759317 Mon Sep 17 00:00:00 2001
|
|
|
|
From: scop <scop@9bc8b190-ac0f-0410-8968-dc7d1f502856>
|
|
|
|
Date: Wed, 11 May 2011 16:25:39 +0000
|
|
|
|
Subject: [PATCH] Fix setting message type for reasons with badness threshold defined (Ludwig Nussel).
|
|
|
|
|
|
|
|
git-svn-id: http://rpmlint.zarb.org/svn/trunk@1862 9bc8b190-ac0f-0410-8968-dc7d1f502856
|
|
|
|
---
|
|
|
|
Filter.py | 2 +-
|
|
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
|
2011-05-20 11:08:13 +02:00
|
|
|
Index: rpmlint-1.2/Filter.py
|
|
|
|
===================================================================
|
|
|
|
--- rpmlint-1.2.orig/Filter.py
|
|
|
|
+++ rpmlint-1.2/Filter.py
|
|
|
|
@@ -44,7 +44,7 @@ def _print(msgtype, pkg, reason, details
|
2011-05-17 12:42:54 +02:00
|
|
|
badness = Config.badness(reason)
|
|
|
|
# anything with badness is an error
|
|
|
|
if badness:
|
|
|
|
- msgtype == 'E'
|
|
|
|
+ msgtype = 'E'
|
|
|
|
# errors without badness become warnings
|
|
|
|
elif msgtype == 'E':
|
|
|
|
msgtype = 'W'
|