diff options
Diffstat (limited to 'module/gui/XMLParser.py')
-rw-r--r-- | module/gui/XMLParser.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/gui/XMLParser.py b/module/gui/XMLParser.py index 5e3b7bf65..d9adc74f6 100644 --- a/module/gui/XMLParser.py +++ b/module/gui/XMLParser.py @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>. - + @author: mkaay """ from __future__ import with_statement @@ -33,7 +33,7 @@ class XMLParser(): self.mutex.unlock() self.loadData() self.root = self.xml.documentElement() - + def loadData(self): self.mutex.lock() f = self.file @@ -43,7 +43,7 @@ class XMLParser(): content = fh.read() self.xml.setContent(content) self.mutex.unlock() - + def saveData(self): self.mutex.lock() content = self.xml.toString() @@ -51,7 +51,7 @@ class XMLParser(): fh.write(content) self.mutex.unlock() return content - + def parseNode(self, node, ret_type="list"): if ret_type == "dict": childNodes = {} |