xmlclass/xsdschema.py
changeset 1765 ccf59c1f0b45
parent 1763 bcc07ff2362c
child 1767 c74815729afd
--- a/xmlclass/xsdschema.py	Thu Aug 17 15:43:25 2017 +0300
+++ b/xmlclass/xsdschema.py	Thu Aug 17 16:26:32 2017 +0300
@@ -396,7 +396,7 @@
 
         # Check that item type is a simple type
         if itemtypeinfos["type"] != SIMPLETYPE:
-            raise ValueError, "Item type given isn't a simpleType!"
+            raise ValueError("Item type given isn't a simpleType!")
 
         simpleType["basename"] = "list"