summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 *