From 23108a80d791c783f04636acf122806cab0d655f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 5 Aug 2015 21:32:47 +1000 Subject: Remove redundant subclassing of 'object' --- io_anim_bvh/export_bvh.py | 2 +- io_anim_bvh/import_bvh.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'io_anim_bvh') diff --git a/io_anim_bvh/export_bvh.py b/io_anim_bvh/export_bvh.py index 4d7f0b09..ed80ed59 100644 --- a/io_anim_bvh/export_bvh.py +++ b/io_anim_bvh/export_bvh.py @@ -147,7 +147,7 @@ def write_armature(context, # redefine bones as sorted by serialized_names # so we can write motion - class DecoratedBone(object): + class DecoratedBone: __slots__ = ( "name", # bone name, used as key in many places "parent", # decorated bone parent, set in a later loop diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py index 50ae4bd7..08f7cb5b 100644 --- a/io_anim_bvh/import_bvh.py +++ b/io_anim_bvh/import_bvh.py @@ -26,7 +26,7 @@ import bpy from mathutils import Vector, Euler, Matrix -class BVH_Node(object): +class BVH_Node: __slots__ = ( 'name', # bvh joint name 'parent', # BVH_Node type or None for no parent -- cgit v1.2.3