(buffer, match, line)
| 31 | matcher = re.compile(constant_prefix) |
| 32 | |
| 33 | def edit(buffer, match, line): |
| 34 | if new_version.dot in line: |
| 35 | return None |
| 36 | buffer.append(line.replace(match.group(1), new_version.dot)) |
| 37 | return True |
| 38 | |
| 39 | changed = update_file(filename, matcher, edit) |
| 40 | print('done' if changed else 'uptodate') |
no test coverage detected
searching dependent graphs…