(self, node, dep)
| 340 | ) |
| 341 | |
| 342 | def printTree(self, node, dep): |
| 343 | pStr = "" |
| 344 | for i in range(dep): |
| 345 | pStr += "\t" |
| 346 | |
| 347 | if len(node.format) == 0: |
| 348 | pStr += "No format node" |
| 349 | else: |
| 350 | pStr += " ".join(node.format) |
| 351 | # print pStr |
| 352 | if len(node.childL) == 0: |
| 353 | return 1 |
| 354 | for child in node.childL: |
| 355 | self.printTree(child, dep + 1) |
| 356 | |
| 357 | def parse(self, logname): |
| 358 | print("Parsing file: " + os.path.join(self.path, logname)) |
nothing calls this directly
no outgoing calls
no test coverage detected