(self)
| 45 | self.mutex.unlock() |
| 46 | |
| 47 | def saveData(self): |
| 48 | self.mutex.lock() |
| 49 | content = self.xml.toString() |
| 50 | with open(self.file, 'w') as fh: |
| 51 | fh.write(content) |
| 52 | self.mutex.unlock() |
| 53 | return content |
| 54 | |
| 55 | def parseNode(self, node, ret_type="list"): |
| 56 | if ret_type == "dict": |
no test coverage detected