status-report-scripts review-stats.py,1.11,1.12

Jason ティビツ tibbs at fedoraproject.org
Fri Jan 15 05:14:10 UTC 2010


Author: tibbs

Update of /cvs/fedora/status-report-scripts
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10070

Modified Files:
	review-stats.py 
Log Message:
Downcase status whiteboard comparisons.



Index: review-stats.py
===================================================================
RCS file: /cvs/fedora/status-report-scripts/review-stats.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- review-stats.py	14 Jan 2010 02:04:11 -0000	1.11
+++ review-stats.py	15 Jan 2010 05:14:10 -0000	1.12
@@ -134,8 +134,8 @@
     def opendep(id): return id not in closeddeps
     for bug in bugs:
         if (bug.bug_status != 'CLOSED' and
-            (bug.status_whiteboard.find('NotReady') >= 0
-                    or bug.status_whiteboard.find('BuildFails') >= 0
+            (string.lower(bug.status_whiteboard).find('notready') >= 0
+                    or string.lower(bug.status_whiteboard).find('buildfails') >= 0
                     or LEGAL in bugdata[bug.bug_id]['blockedby']
                     or filter(opendep, bugdata[bug.bug_id]['depends']))):
             bugdata[bug.bug_id]['hidden'] = 1



More information about the scm-commits mailing list