diff options
author | Karel Klic <kklic@redhat.com> | 2010-02-07 22:30:07 +0100 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2010-02-07 22:30:07 +0100 |
commit | 512030807f2d09c5a7226f4d007b9060b6963449 (patch) | |
tree | ef3190246e6328023d844044530cda5fd2d7de70 /scripts | |
parent | 5ddcae3c61341e655e98470ceb26dda91b013704 (diff) | |
download | abrt-512030807f2d09c5a7226f4d007b9060b6963449.tar.gz abrt-512030807f2d09c5a7226f4d007b9060b6963449.tar.xz abrt-512030807f2d09c5a7226f4d007b9060b6963449.zip |
Show bugs with more than 2 comments.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/abrt-bz-ratingfixer | 8 |
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) |