mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
fix python3 only syntax
This commit is contained in:
parent
5ff892676c
commit
2017a773b6
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def rewrite_lines(
|
|||
new_version_nfo = version.parse_version_info(new_version)
|
||||
new_version_fmt_kwargs = new_version_nfo._asdict()
|
||||
|
||||
new_lines = old_lines.copy()
|
||||
new_lines = old_lines[:]
|
||||
|
||||
for m in parse.iter_matches(old_lines, patterns):
|
||||
replacement = m.pattern.format(**new_version_fmt_kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue