diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-17 21:53:59 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-17 21:53:59 +0100 |
commit | e17c410d4c0fcd6c9c59368e1472cdc524617dc1 (patch) | |
tree | 0504c07f9caca72ad8e786264c669df72a8c72c3 | |
parent | new xml config for core (diff) | |
download | pyload-e17c410d4c0fcd6c9c59368e1472cdc524617dc1.tar.xz |
fixed with statement (python2.5)
-rw-r--r-- | module/XMLConfigParser.py | 1 | ||||
-rw-r--r-- | module/gui/XMLParser.py | 1 |
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 * |