Cleanup: unused argument & variable warnings

This commit is contained in:
2021-06-15 10:44:08 +10:00
parent 3bf98d1cec
commit 013fc69ea8
11 changed files with 15 additions and 17 deletions

View File

@@ -1572,7 +1572,7 @@ class I18n:
if not os.path.isfile(dst):
print("WARNING: trying to write as python code into {}, which is not a file! Aborting.".format(dst))
return
prev, txt, nxt, has_trans = self._parser_check_file(dst)
prev, txt, nxt, _has_trans = self._parser_check_file(dst)
if prev is None and nxt is None:
print("WARNING: Looks like given python file {} has no auto-generated translations yet, will be added "
"at the end of the file, you can move that section later if needed...".format(dst))