(self, line, comment='')
| 3581 | return '_escape(%s)' % chunk |
| 3582 | |
| 3583 | def write_code(self, line, comment=''): |
| 3584 | line, comment = self.fix_backward_compatibility(line, comment) |
| 3585 | code = ' ' * (self.indent+self.indent_mod) |
| 3586 | code += line.lstrip() + comment + '\n' |
| 3587 | self.code_buffer.append(code) |
| 3588 | |
| 3589 | def fix_backward_compatibility(self, line, comment): |
| 3590 | parts = line.strip().split(None, 2) |
no test coverage detected