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:
Diffstat (limited to 'release/scripts/modules')
-rw-r--r--release/scripts/modules/bpy/ops.py4
-rw-r--r--release/scripts/modules/bpyml_ui.py6
2 files changed, 6 insertions, 4 deletions
diff --git a/release/scripts/modules/bpy/ops.py b/release/scripts/modules/bpy/ops.py
index 382a47cb4e6..d01b706cc37 100644
--- a/release/scripts/modules/bpy/ops.py
+++ b/release/scripts/modules/bpy/ops.py
@@ -208,7 +208,7 @@ class BPyOpsSubModOp(object):
return "# %s\n%s" % (descr, as_string)
def __str__(self): # used for print(...)
- return "<function bpy.ops.%s.%s at 0x%x'>" % \
- (self.module, self.func, id(self))
+ return ("<function bpy.ops.%s.%s at 0x%x'>" %
+ (self.module, self.func, id(self)))
ops_fake_module = BPyOps()
diff --git a/release/scripts/modules/bpyml_ui.py b/release/scripts/modules/bpyml_ui.py
index f4b6de23dbb..4828b3649d3 100644
--- a/release/scripts/modules/bpyml_ui.py
+++ b/release/scripts/modules/bpyml_ui.py
@@ -25,9 +25,11 @@ from bpyml import TAG, ARGS, CHILDREN
_uilayout_rna = _bpy.types.UILayout.bl_rna
-_uilayout_tags = ["ui"] + \
- _uilayout_rna.properties.keys() + \
+_uilayout_tags = (
+ ["ui"] +
+ _uilayout_rna.properties.keys() +
_uilayout_rna.functions.keys()
+ )
# these need to be imported directly
# >>> from bpyml_ui.locals import *