xmlclass/xsdschema.py
changeset 1762 fcc406143e5b
parent 1757 0de89da92ee0
child 1763 bcc07ff2362c
--- a/xmlclass/xsdschema.py	Thu Aug 17 10:12:04 2017 +0300
+++ b/xmlclass/xsdschema.py	Thu Aug 17 11:39:10 2017 +0300
@@ -421,7 +421,8 @@
                     return result
             return True
 
-        SimpleTypeInitialValue = lambda: []
+        def SimpleTypeInitialValue():
+            return []
 
         GenerateSimpleType = GenerateSimpleTypeXMLText(lambda x: " ".join(map(itemtypeinfos["generate"], x)))