From 512030807f2d09c5a7226f4d007b9060b6963449 Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Sun, 7 Feb 2010 22:30:07 +0100 Subject: Show bugs with more than 2 comments. --- scripts/abrt-bz-ratingfixer | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/abrt-bz-ratingfixer b/scripts/abrt-bz-ratingfixer index 8f45d82..86f4c0c 100755 --- a/scripts/abrt-bz-ratingfixer +++ b/scripts/abrt-bz-ratingfixer @@ -119,6 +119,7 @@ bz.logout() print "============= SUMMARY" count = 0 +closedcount = 0 bugids = ids.keys() bugids.sort() if options.wiki: @@ -127,8 +128,10 @@ if options.wiki: print " |-" for bugid in bugids: rating = ids[bugid] - if rating[0] < 3 and rating[1] <= 2: + if rating[0] < 3: count += 1 + if rating[1] <= 2: + closedcount += 1 if options.wiki: print " | #[https://bugzilla.redhat.com/show_bug.cgi?id={0} {0}] || {1}/4 || {2}".format(bugid, rating[0], rating[1]) print " |-" @@ -139,4 +142,5 @@ if options.wiki: print " |}" -print "{0} bugs should be closed.".format(count) +print "{0} bugs are included.".format(count) +print "{0} bugs should be closed.".format(closedcount) -- cgit