diff -r c5112b5cb7a9 -r 584c21b6587a E5XML/ProjectReader.py --- a/E5XML/ProjectReader.py Sun Nov 12 19:42:02 2017 +0100 +++ b/E5XML/ProjectReader.py Mon Nov 13 20:20:06 2017 +0100 @@ -15,12 +15,11 @@ import Utilities -# TODO: add support for 'PROTOCOLS' (analog INTERFACES) class ProjectReader(XMLStreamReaderBase): """ Class for reading an XML project file. """ - supportedVersions = ["4.6", "5.0", "5.1"] + supportedVersions = ["4.6", "5.0", "5.1", "6.0"] def __init__(self, device, project): """ @@ -100,6 +99,8 @@ self.__readFiles("Resources", "Resource", "RESOURCES") elif self.name() == "Interfaces": self.__readFiles("Interfaces", "Interface", "INTERFACES") + elif self.name() == "Protocols": + self.__readFiles("Protocols", "Protocol", "PROTOCOLS") elif self.name() == "Others": self.__readFiles("Others", "Other", "OTHERS") elif self.name() == "MainScript":