Skeleton for rigging with Blender

Hi vblanco, it’s nice to find some help on this but i don’t see what i need to change as that looks like the original python section
eg


    # Every bone that has a name starting with "DEF-" make deforming.  All the
    # others make non-deforming.
    for bone in bones:
        if obj.data.bones[bone].name.startswith(DEF_PREFIX):
            obj.data.bones[bone].use_deform = True
        else:
            obj.data.bones[bone].use_deform = False

if i export with the option ticked i still get ca 150 bones !!! i must be doing something wrong