diff -r 1b59c4ba121e -r 8cd4d08fa9f6 E5XML/SessionReader.py --- a/E5XML/SessionReader.py Fri Mar 11 08:55:14 2011 +0100 +++ b/E5XML/SessionReader.py Fri Mar 11 16:51:57 2011 +0100 @@ -12,6 +12,7 @@ from .Config import sessionFileFormatVersion from .XMLStreamReaderBase import XMLStreamReaderBase + class SessionReader(XMLStreamReaderBase): """ Class for reading an XML session file. @@ -47,7 +48,7 @@ self.dbs.getBreakPointModel().deleteAll() self.dbs.getWatchPointModel().deleteAll() - def readXML(self, quiet = False): + def readXML(self, quiet=False): """ Public method to read and parse the XML document. @@ -203,7 +204,7 @@ while not self.atEnd(): self.readNext() if self.isEndElement() and self.name() == "Watchexpression": - self.dbs.getWatchPointModel().addWatchPoint(weCond, + self.dbs.getWatchPointModel().addWatchPoint(weCond, (weTemp, weEnabled, weCount, weSpecialCond)) break