[Bf-blender-cvs] [4482d70f6e0] blender-v2.82-release: Fix invalid exception used in 'rna_xml'

Simon G noreply at git.blender.org
Thu Jan 30 01:52:49 CET 2020


Commit: 4482d70f6e0dd3e3f455236915357a69898dc9be
Author: Simon G
Date:   Thu Jan 30 11:50:09 2020 +1100
Branches: blender-v2.82-release
https://developer.blender.org/rB4482d70f6e0dd3e3f455236915357a69898dc9be

Fix invalid exception used in 'rna_xml'

===================================================================

M	release/scripts/modules/rna_xml.py

===================================================================

diff --git a/release/scripts/modules/rna_xml.py b/release/scripts/modules/rna_xml.py
index 95196cb83fa..d9fc09e7d18 100644
--- a/release/scripts/modules/rna_xml.py
+++ b/release/scripts/modules/rna_xml.py
@@ -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



More information about the Bf-blender-cvs mailing list