(self)
| 548 | return function |
| 549 | |
| 550 | def getOutputFilename(self): |
| 551 | main_filename = self.getFilename() |
| 552 | |
| 553 | if main_filename.endswith(".py"): |
| 554 | result = main_filename[:-3] |
| 555 | elif main_filename.endswith(".pyw"): |
| 556 | result = main_filename[:-4] |
| 557 | else: |
| 558 | result = main_filename |
| 559 | |
| 560 | # There are some characters that somehow are passed to shell, by |
| 561 | # Scons or unknown, so lets avoid them for now. |
| 562 | return result.replace(")", "").replace("(", "") |
| 563 | |
| 564 | def computeModule(self): |
| 565 | self.restartTraversal() |
nothing calls this directly
no test coverage detected