Fix invalid exception used in 'rna_xml'

This commit is contained in:
Simon G
2020-01-30 11:50:09 +11:00
committed by Campbell Barton
parent 15350c70be
commit 4482d70f6e

View File

@@ -100,7 +100,7 @@ def rna2xml(
elif val_type == bool:
return "TRUE" if val else "FALSE"
else:
raise NotImplemented("this type is not a number %s" % val_type)
raise NotImplementedError("this type is not a number %s" % val_type)
def rna2xml_node(ident, value, parent):
ident_next = ident + ident_val