class ArmatureExporter:
def export_armature(self, obj):
if obj.type!="ARMATURE":
- raise ValueError("Object is not an armature")
+ raise ValueError("Object {} is not an armature".format(obj))
from .armature import Armature
armature = Armature(obj.data)