summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-02-07 22:30:07 +0100
committerKarel Klic <kklic@redhat.com>2010-02-07 22:30:07 +0100
commit512030807f2d09c5a7226f4d007b9060b6963449 (patch)
treeef3190246e6328023d844044530cda5fd2d7de70 /scripts
parent5ddcae3c61341e655e98470ceb26dda91b013704 (diff)
downloadabrt-512030807f2d09c5a7226f4d007b9060b6963449.tar.gz
abrt-512030807f2d09c5a7226f4d007b9060b6963449.tar.xz
abrt-512030807f2d09c5a7226f4d007b9060b6963449.zip
Show bugs with more than 2 comments.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/abrt-bz-ratingfixer8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/abrt-bz-ratingfixer b/scripts/abrt-bz-ratingfixer
index 8f45d821..86f4c0c7 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)