ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/TWikiIB/chkpy.py
(Generate patch)

Comparing UserCode/TWikiIB/chkpy.py (file contents):
Revision 1.1 by geonmo, Mon Sep 7 09:46:41 2009 UTC vs.
Revision 1.4 by geonmo, Mon Sep 7 14:00:54 2009 UTC

# Line 40 | Line 40 | class makePyCheck(object) :
40                  countline = countline + 1
41              m2 = re.search('Package',l)
42              if m2:
43 <                slist = l.split()
44 <                title.append(slist[1])
43 >                splitedline = l.split()
44 >                title.append(splitedline[1])
45              countfile = countfile + 1
46          print title
47          c1 = self.makecanvas("c1",300,200)
# Line 54 | Line 54 | class makePyCheck(object) :
54  
55          his1 = TH1F("pyCfgCheck","pyCfgCheck",countline,0,countline)
56          for j in range(0,countline):
57 <            his1.Fill(title[j],float(num[j]))
57 >            titlenum = title[j]+'  ('+str(num[j])+')'
58 >            his1.Fill(titlenum,float(num[j]))
59  
60          pie = TPie(his1)
61          pie.SetRadius(0.35)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines