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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2021-01-08 13:00:59 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2021-01-08 13:00:59 +0300
commit589d13408a60cbec34a8bc3cc798c586043743ae (patch)
treef063d39ab60f23bc2832f1057259bfc2e2df6a6a
parentd2f6cf924a622dd28ab4bee4e3a74792bce1eebc (diff)
Translations: Use ASAN_OPTIONS from environment too.
Don't overwrite environment variables that may contain options like suppression files, symboliser etc. It's similar to rBa181b156399a13fa429159112e30c8005d5e8a59 but exhaustive. For `blender` repo, see the equivalent in D9815. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9816
-rw-r--r--ui_translate/update_svn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui_translate/update_svn.py b/ui_translate/update_svn.py
index b98db75a..0c362d1e 100644
--- a/ui_translate/update_svn.py
+++ b/ui_translate/update_svn.py
@@ -77,7 +77,7 @@ class UI_OT_i18n_updatetranslation_svn_branches(Operator):
context.window_manager.progress_update(0)
if not self.use_skip_pot_gen:
env = os.environ.copy()
- env["ASAN_OPTIONS"] = "exitcode=0"
+ env["ASAN_OPTIONS"] = "exitcode=0:" + os.environ.get("ASAN_OPTIONS", "")
# Generate base pot from RNA messages (we use another blender instance here, to be able to perfectly
# control our environment (factory startup, specific addons enabled/disabled...)).
# However, we need to export current user settings about this addon!