(self, root)
| 100 | fd.close() |
| 101 | |
| 102 | def write_html(self, root): |
| 103 | for path, source in self.files.items(): |
| 104 | fd = open(os.path.join(root, self.clean_path(path) + ".html"), "w") |
| 105 | source.write_html(fd) |
| 106 | fd.close() |
| 107 | |
| 108 | fd = open(os.path.join(root, 'index.html'), 'w') |
| 109 | fd.write("<html>") |
| 110 | paths = sorted(self.files.keys()) |
| 111 | for path in paths: |
| 112 | fd.write('<p><a href="%s.html">%s</a></p>' % |
| 113 | (self.clean_path(path), escape(path[len(self.prefix):]))) |
| 114 | fd.write("</html>") |
| 115 | fd.close() |
| 116 | |
| 117 | |
| 118 | def collect_stats(files, fd, pattern): |
nothing calls this directly
no test coverage detected