Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-03 02:18:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-03 02:18:14 +0300
commit318851e12849f880e486fdecb8c96956305fbcc0 (patch)
tree867b8e64d6005cba17d4a166055437c32e2087e4
parentfc4f9d369cc5d5b4ba743ee973f4d0cd999a1f26 (diff)
Cleanup: use tuples for storing classes
-rw-r--r--development_icon_get.py4
-rw-r--r--io_anim_bvh/__init__.py4
-rw-r--r--io_mesh_stl/__init__.py4
-rw-r--r--io_shape_mdd/__init__.py4
4 files changed, 8 insertions, 8 deletions
diff --git a/development_icon_get.py b/development_icon_get.py
index cbeeea9a..ea175539 100644
--- a/development_icon_get.py
+++ b/development_icon_get.py
@@ -487,14 +487,14 @@ class IV_OT_icons_show(bpy.types.Operator):
self, width=self.width)
-classes = [
+classes = (
IV_PT_icons,
IV_HT_icons,
IV_OT_panel_menu_call,
IV_OT_icon_select,
IV_OT_icons_show,
IV_Preferences,
-]
+)
def register():
diff --git a/io_anim_bvh/__init__.py b/io_anim_bvh/__init__.py
index 01484af9..68d08c15 100644
--- a/io_anim_bvh/__init__.py
+++ b/io_anim_bvh/__init__.py
@@ -217,10 +217,10 @@ def menu_func_export(self, context):
self.layout.operator(ExportBVH.bl_idname, text="Motion Capture (.bvh)")
-classes = [
+classes = (
ImportBVH,
ExportBVH
-]
+)
def register():
for cls in classes:
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index 934cdbb4..6859627c 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -254,10 +254,10 @@ def menu_export(self, context):
self.layout.operator(ExportSTL.bl_idname, text="Stl (.stl)")
-classes = [
+classes = (
ImportSTL,
ExportSTL
-]
+)
def register():
for cls in classes:
diff --git a/io_shape_mdd/__init__.py b/io_shape_mdd/__init__.py
index 169e0c17..b6f0e734 100644
--- a/io_shape_mdd/__init__.py
+++ b/io_shape_mdd/__init__.py
@@ -164,10 +164,10 @@ def menu_func_export(self, context):
)
-classes = [
+classes = (
ImportMDD,
ExportMDD
-]
+)
def register():
for cls in classes: