summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-17 21:53:59 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-17 21:53:59 +0100
commite17c410d4c0fcd6c9c59368e1472cdc524617dc1 (patch)
tree0504c07f9caca72ad8e786264c669df72a8c72c3 /module
parentnew xml config for core (diff)
downloadpyload-e17c410d4c0fcd6c9c59368e1472cdc524617dc1.tar.xz
fixed with statement (python2.5)
Diffstat (limited to 'module')
-rw-r--r--module/XMLConfigParser.py1
-rw-r--r--module/gui/XMLParser.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/module/XMLConfigParser.py b/module/XMLConfigParser.py
index 1bd5e3417..b46f9c959 100644
--- a/module/XMLConfigParser.py
+++ b/module/XMLConfigParser.py
@@ -15,6 +15,7 @@
@author: mkaay
"""
+from __future__ import with_statement
from xml.dom.minidom import parse
diff --git a/module/gui/XMLParser.py b/module/gui/XMLParser.py
index 0e3b4e59f..5e3b7bf65 100644
--- a/module/gui/XMLParser.py
+++ b/module/gui/XMLParser.py
@@ -15,6 +15,7 @@
@author: mkaay
"""
+from __future__ import with_statement
from PyQt4.QtCore import *
from PyQt4.QtGui import *