(line)
| 212 | |
| 213 | |
| 214 | def fixline(line): |
| 215 | if not line.startswith(b'#!'): |
| 216 | return line |
| 217 | |
| 218 | if b"python" not in line: |
| 219 | return line |
| 220 | |
| 221 | flags = populate_flags(line) |
| 222 | return b'#! ' + new_interpreter + flags + b'\n' |
| 223 | |
| 224 | |
| 225 | if __name__ == '__main__': |
no test coverage detected