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>2019-08-14 16:25:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-14 16:32:24 +0300
commitbc4fe45aef7e52f9e7a2bd5e370c6791c58af832 (patch)
tree029976bf1f065f318340da2cc9929fd90ee3e1fa /release
parente6425aa2bf3e6a9bba2f10066dc3f09cea11086f (diff)
Cleanup: pep8, prefix unused arg
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/wm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 3f25c35973d..d59ad0694db 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1115,12 +1115,12 @@ class WM_OT_properties_edit(Operator):
)
subtype: EnumProperty(
name="Subtype",
- items=lambda self,ctx: WM_OT_properties_edit.subtype_items,
+ items=lambda self, _context: WM_OT_properties_edit.subtype_items,
)
subtype_items = rna_vector_subtype_items
- def init_subtype(self, prop_type, is_array, subtype):
+ def _init_subtype(self, prop_type, is_array, subtype):
subtype = subtype or 'NONE'
subtype_items = rna_vector_subtype_items
@@ -1314,7 +1314,7 @@ class WM_OT_properties_edit(Operator):
else:
subtype = None
- self.init_subtype(prop_type, is_array, subtype)
+ self._init_subtype(prop_type, is_array, subtype)
# store for comparison
self._cmp_props = self._cmp_props_get()