summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-01-08 14:15:25 +0000
committerTed Ross <tross@apache.org>2010-01-08 14:15:25 +0000
commitffbda30fd1ef1652ffc4cfbdf46d0b670a28f860 (patch)
treef1e432b419bfa9cab4fbbcfda383617cee62870d /python
parenta13c01c46e0d0c414e425e83261f74ddbd86dde6 (diff)
downloadqpid-python-ffbda30fd1ef1652ffc4cfbdf46d0b670a28f860.tar.gz
Removed import of 'io' module for pre-Python-2.6 compatibility
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rwxr-xr-xpython/commands/qpid-config3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/commands/qpid-config b/python/commands/qpid-config
index 5b7dd68f90..0db42bc6c7 100755
--- a/python/commands/qpid-config
+++ b/python/commands/qpid-config
@@ -24,7 +24,6 @@ import getopt
import sys
import locale
from qmf.console import Session
-import io
_recursive = False
_host = "localhost"
@@ -155,7 +154,7 @@ def snarf_xquery_args():
if _file == "-":
res = sys.stdin.read()
else:
- f = io.open(_file) # let this signal if it can't find it
+ f = open(_file) # let this signal if it can't find it
res = f.read()
f.close()
return [True, res]