refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
This commit is contained in:
parent
7768ea77a4
commit
8d9946d35a
143 changed files with 454 additions and 582 deletions
|
|
@ -57,7 +57,7 @@ def contextualize(old_po, new_po, edit=False):
|
|||
)
|
||||
matches = match(missing, old)
|
||||
found = [m for m in matches if m[1] is not None]
|
||||
print("Found {} matching entries".format(len(found)))
|
||||
print(f"Found {len(found)} matching entries")
|
||||
if edit:
|
||||
print("Applying changes")
|
||||
for matched, matching in found:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue