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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-17 19:24:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-17 19:24:26 +0400
commitbb2b1694abca9e1a2a130647aca642020ccd502f (patch)
treedaab099774cea6ec0198dc933be252e0af9d3887 /release/scripts/startup/bl_operators/console.py
parenta31de14b2e5972bf8ff6723f5dbce0053088937a (diff)
workaround for python3.3 alpha with the console.
Diffstat (limited to 'release/scripts/startup/bl_operators/console.py')
-rw-r--r--release/scripts/startup/bl_operators/console.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/console.py b/release/scripts/startup/bl_operators/console.py
index 099cb02564d..ff87f98658d 100644
--- a/release/scripts/startup/bl_operators/console.py
+++ b/release/scripts/startup/bl_operators/console.py
@@ -24,7 +24,9 @@ from bpy.props import StringProperty
def _lang_module_get(sc):
- return __import__("console_" + sc.language)
+ return __import__("console_" + sc.language,
+ # for python 3.3, maybe a bug???
+ level=0)
class ConsoleExec(Operator):