diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-07-08 21:10:10 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-07-08 21:10:10 +0400 |
commit | dc459c8fea37ea3f86bc1cad2d83dd9ef3f29491 (patch) | |
tree | 29b25fa9b96fb1169947035a92984541fef947dc /release/scripts/modules/bl_i18n_utils/update_branches.py | |
parent | 0c7b56cf39b0b0ac38ad9813a7d43b7098c891fd (diff) |
Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/update_branches.py')
-rwxr-xr-x | release/scripts/modules/bl_i18n_utils/update_branches.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/update_branches.py b/release/scripts/modules/bl_i18n_utils/update_branches.py index 1a856b14944..6626fa937a6 100755 --- a/release/scripts/modules/bl_i18n_utils/update_branches.py +++ b/release/scripts/modules/bl_i18n_utils/update_branches.py @@ -30,7 +30,11 @@ import os import sys import tempfile -import settings +try: + import settings +except: + from . import settings + PY3 = settings.PYTHON3_EXEC |