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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-07-08 21:10:10 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-08 21:10:10 +0400
commitdc459c8fea37ea3f86bc1cad2d83dd9ef3f29491 (patch)
tree29b25fa9b96fb1169947035a92984541fef947dc /release/scripts/modules/bl_i18n_utils/update_branches.py
parent0c7b56cf39b0b0ac38ad9813a7d43b7098c891fd (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-xrelease/scripts/modules/bl_i18n_utils/update_branches.py6
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