2010-01-27 17:18:50 +00:00
|
|
|
--- rpmlint.py
|
2009-08-28 20:12:54 +00:00
|
|
|
+++ rpmlint.py
|
2010-01-27 17:18:50 +00:00
|
|
|
@@ -190,7 +190,7 @@
|
2008-06-25 17:08:32 +00:00
|
|
|
% (packages_checked, specfiles_checked,
|
|
|
|
printed_messages["E"], printed_messages["W"])
|
|
|
|
|
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
|
|
|
|
2010-01-27 17:18:50 +00:00
|
|
|
--- Filter.py
|
|
|
|
+++ Filter.py
|
|
|
|
@@ -96,7 +96,7 @@
|
|
|
|
if len(last_reason):
|
|
|
|
printDescriptions(last_reason)
|
|
|
|
last_reason = reason
|
|
|
|
- Pkg.rlprint(diag)
|
|
|
|
+ Pkg.rlprint(diag[:-1])
|
2009-09-16 16:41:21 +00:00
|
|
|
if Config.info and len(last_reason):
|
|
|
|
printDescriptions(last_reason)
|
|
|
|
_diagnostic = list()
|