Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-15 03:44:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-15 03:50:43 +0300
commit013fc69ea8feba0dfcb35ae6b8f5207753af3202 (patch)
tree7b89315111b10c2caddde1b0aa97c37b5eebaa45 /release/scripts/modules/bl_i18n_utils/utils.py
parent3bf98d1cec1821749c986288508b4fb787a32633 (diff)
Cleanup: unused argument & variable warnings
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/utils.py')
-rw-r--r--release/scripts/modules/bl_i18n_utils/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/utils.py b/release/scripts/modules/bl_i18n_utils/utils.py
index b17c9eeebc5..f63b6990cdd 100644
--- a/release/scripts/modules/bl_i18n_utils/utils.py
+++ b/release/scripts/modules/bl_i18n_utils/utils.py
@@ -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))