diff -r 02f03bd7639e -r 42566291b9bc ProjectController.py --- a/ProjectController.py Wed Jul 04 17:47:38 2018 +0300 +++ b/ProjectController.py Mon Aug 06 13:14:50 2018 +0200 @@ -194,8 +194,9 @@ """+"\n".join(['' - for libname, _lib in features.libraries])+""" + 'type="xsd:boolean" use="optional" default="' + + ('true' if default else 'false') + '"/>' + for libname, _lib, default in features.libraries])+""" """) if len(features.libraries) > 0 else '') + """ @@ -205,6 +206,7 @@ """ + print XSD return XSD @@ -270,7 +272,7 @@ def LoadLibraries(self): self.Libraries = [] TypeStack = [] - for libname, clsname in features.libraries: + for libname, clsname, default in features.libraries: if self.BeremizRoot.Libraries is not None and getattr(self.BeremizRoot.Libraries, "Enable_"+libname+"_Library"): Lib = GetClassImporter(clsname)()(self, libname, TypeStack) TypeStack.append(Lib.GetTypes())