Dirk Mueller
2e4e338fbc
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=23
24 lines
914 B
Diff
24 lines
914 B
Diff
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(-)
|
|
|
|
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
|
|
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'
|