[Bf-extensions-cvs] [589d1340] master: Translations: Use ASAN_OPTIONS from environment too.
Ankit Meel
noreply at git.blender.org
Fri Jan 8 11:01:51 CET 2021
Commit: 589d13408a60cbec34a8bc3cc798c586043743ae
Author: Ankit Meel
Date: Fri Jan 8 15:30:59 2021 +0530
Branches: master
https://developer.blender.org/rBA589d13408a60cbec34a8bc3cc798c586043743ae
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
===================================================================
M ui_translate/update_svn.py
===================================================================
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!
More information about the Bf-extensions-cvs
mailing list