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.2 by hykim, Mon Sep 7 09:51:49 2009 UTC vs.
Revision 1.5 by geonmo, Tue Sep 8 10:04:03 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
46          c1 = self.makecanvas("c1",300,200)
47          c2 = self.makecanvas("c2",600,400)
48          colors = [6,4,2,8,10,12]
49          num = []
50          for i in range(0,countline):
51              num.append(countfiles[i+1]-2)
53        print num
52  
53          his1 = TH1F("pyCfgCheck","pyCfgCheck",countline,0,countline)
54          for j in range(0,countline):
55 <            titlenum = title[j]+str(num[j])
55 >            titlenum = title[j]+'  ('+str(num[j])+')'
56              his1.Fill(titlenum,float(num[j]))
57  
58          pie = TPie(his1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines