(self)
| 35 | self.root = self.xml.documentElement() |
| 36 | |
| 37 | def loadData(self): |
| 38 | self.mutex.lock() |
| 39 | f = self.file |
| 40 | if not os.path.exists(f): |
| 41 | f = self.dfile |
| 42 | with open(f, 'r') as fh: |
| 43 | content = fh.read() |
| 44 | self.xml.setContent(content) |
| 45 | self.mutex.unlock() |
| 46 | |
| 47 | def saveData(self): |
| 48 | self.mutex.lock() |
no test coverage detected