Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/gwn: gmn_bugzie.py
Date: Sat, 05 Oct 2013 15:45:12
Message-Id: 20131005154509.91B3A2004C@flycatcher.gentoo.org
1 hwoarang 13/10/05 15:45:09
2
3 Modified: gmn_bugzie.py
4 Log:
5 gmn_bugzie.py: Reword output
6
7 Revision Changes Path
8 1.4 src/gwn/gmn_bugzie.py
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/gmn_bugzie.py?rev=1.4&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/gmn_bugzie.py?rev=1.4&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/gmn_bugzie.py?r1=1.3&r2=1.4
13
14 Index: gmn_bugzie.py
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/src/gwn/gmn_bugzie.py,v
17 retrieving revision 1.3
18 retrieving revision 1.4
19 diff -u -r1.3 -r1.4
20 --- gmn_bugzie.py 29 Sep 2013 14:39:26 -0000 1.3
21 +++ gmn_bugzie.py 5 Oct 2013 15:45:09 -0000 1.4
22 @@ -136,7 +136,7 @@
23
24 #7. We have every value we need, now build the report
25
26 -print "%s:%s" % (date_from_display, date_to_display)
27 +print "Bugzilla statistics from %s to %s\n" % (date_from_display, date_to_display)
28 print "New:%d" % new_bug_count
29 print "Closed:%d" % closed_bug_count
30 print "Not fixed:%d" % closed_nofix_bug_count
31 @@ -147,13 +147,16 @@
32 print "Major:%d" % severities.get('"major"',0)
33
34 cleft = 0
35 +print "\nTeam Statistics\n"
36 #8. Closed Bugs
37 +print "==Closed Bugs==\n"
38 for i in range(0,9):
39 print "%s:%d" % (strip(groups_that_closed_most[i][2][0]), groups_that_closed_most[i][1])
40 cleft += groups_that_closed_most[i][1]
41 print "Others:%d" % (total_closed - cleft)
42
43 #9. Open Bugs
44 +print "\n\n==Open Bugs==\n"
45 oleft = 0
46 for i in range(0,9):
47 print "%s:%d" % (strip(groups_that_opened_most[i][2][0]), groups_that_opened_most[i][1])