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