diff options
| author | Ted Ross <tross@apache.org> | 2010-01-08 14:15:25 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-01-08 14:15:25 +0000 |
| commit | feacd5dbae8460ef4bdcf0ccd2c6aa717aa0d1a9 (patch) | |
| tree | 7095ed21d7a2dc3beb564599d807b62dcf2a10a6 /qpid/python | |
| parent | b29c80a3cdb99fc84fad8348eb298ac16d5b177f (diff) | |
| download | qpid-python-feacd5dbae8460ef4bdcf0ccd2c6aa717aa0d1a9.tar.gz | |
Removed import of 'io' module for pre-Python-2.6 compatibility
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@897212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rwxr-xr-x | qpid/python/commands/qpid-config | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/python/commands/qpid-config b/qpid/python/commands/qpid-config index 5b7dd68f90..0db42bc6c7 100755 --- a/qpid/python/commands/qpid-config +++ b/qpid/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] |
