diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-01-08 13:00:59 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2021-01-08 13:00:59 +0300 |
commit | 589d13408a60cbec34a8bc3cc798c586043743ae (patch) | |
tree | f063d39ab60f23bc2832f1057259bfc2e2df6a6a /ui_translate | |
parent | d2f6cf924a622dd28ab4bee4e3a74792bce1eebc (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
Diffstat (limited to 'ui_translate')
-rw-r--r-- | ui_translate/update_svn.py | 2 |
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! |