From 74eb9e40a31cf55b3e6e0f4daa3f63e17f81bf7c Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 30 May 2012 14:44:45 -0500 Subject: [PATCH] Don't query closed bugs; huge speedup. --- scripts/review-stats/review-stats.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/review-stats/review-stats.py b/scripts/review-stats/review-stats.py index 87a891b..0c41e03 100755 --- a/scripts/review-stats/review-stats.py +++ b/scripts/review-stats/review-stats.py @@ -42,6 +42,7 @@ trackers = set([ACCEPT, BUNDLED, FEATURE, NEEDSPONSOR, GUIDELINES, SCITECH]) # So the bugzilla module has some way to complain logging.basicConfig() +#logging.basicConfig(level=logging.DEBUG) def parse_commandline(): usage = "usage: %prog [options] -d -t " @@ -127,6 +128,7 @@ def run_query(bz): 'alias', 'assigned_to', 'reporter', 'bug_status', 'resolution', 'component', 'blockedby', 'dependson', 'short_desc', 'status_whiteboard', 'flag_types'] + querydata['bug_status'] = ['NEW', 'ASSIGNED', 'MODIFIED'] querydata['product'] = ['Fedora'] querydata['component'] = ['Package Review']