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 |
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' : |