2010-10-14 12:32:03 +00:00
|
|
|
Index: Filter.py
|
|
|
|
===================================================================
|
|
|
|
--- Filter.py.orig
|
2010-04-01 14:20:38 +00:00
|
|
|
+++ Filter.py
|
2013-06-28 13:29:34 +00:00
|
|
|
@@ -113,7 +113,7 @@ def printAllReasons():
|
2010-04-01 14:20:38 +00:00
|
|
|
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()
|
2011-04-21 10:12:02 +00:00
|
|
|
Index: rpmlint
|
2010-10-14 12:32:03 +00:00
|
|
|
===================================================================
|
2011-04-21 10:12:02 +00:00
|
|
|
--- rpmlint.orig
|
|
|
|
+++ rpmlint
|
2014-02-21 14:54:14 +00:00
|
|
|
@@ -214,7 +214,7 @@ def main():
|
2008-06-25 17:08:32 +00:00
|
|
|
% (packages_checked, specfiles_checked,
|
2014-02-21 14:54:14 +00:00
|
|
|
printed_messages["E"], printed_messages["W"]))
|
2008-06-25 17:08:32 +00:00
|
|
|
|
2010-01-27 17:18:50 +00:00
|
|
|
- if printed_messages["E"] > 0:
|
|
|
|
+ if badnessThreshold() < 0 and printed_messages["E"] > 0:
|
2008-06-25 17:08:32 +00:00
|
|
|
sys.exit(64)
|
2009-08-28 20:12:54 +00:00
|
|
|
sys.exit(0)
|
2009-09-16 16:41:21 +00:00
|
|
|
|