MCPcopy Index your code
hub / github.com/pyload/pyload / saveData

Method saveData

module/gui/XMLParser.py:47–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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":

Callers 3

slotSaveConnectionMethod · 0.80
slotRemoveConnectionMethod · 0.80
slotSaveMainWindowMethod · 0.80

Calls 3

lockMethod · 0.80
unlockMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected