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

Comparing UserCode/TWikiIB/makeDepMetrics.py (file contents):
Revision 1.10 by geonmo, Tue Sep 8 10:04:03 2009 UTC vs.
Revision 1.11 by geonmo, Tue Sep 8 12:35:37 2009 UTC

# Line 18 | Line 18 | class mkDepMetrics(object) :
18              writeflag = False
19              cycleflag = False
20              typeCycle = re.compile('^(Cycle \w*)')
21 +            if len(contents)==0 :
22 +                self.page.write('      * No data about summary\n')
23              for line in contents :
24                  matchCycle = typeCycle.search(line)
25                  if line=='# Summary\n' :
26 +                    self.page.write('         * Summary\n')
27                      writeflag = True
28                  elif line=='# Levels\n' :
29                      writeflag = False
# Line 66 | Line 69 | class mkDepMetrics(object) :
69              writeflag = False
70              valueflag = False
71              if len(contents)==0 :
72 <                self.page.write('---+++++No data about metrics information.\n')
72 >                self.page.write('      * No data about metrics information.\n')
73                  return pack
74              for line in contents :
75                  if line =='# Levels\n' :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines