Cleanup: unused argument & variable warnings
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user