Author: tross
Date: Fri Jan  8 14:15:25 2010
New Revision: 897212

URL: http://svn.apache.org/viewvc?rev=897212&view=rev
Log:
Removed import of 'io' module for pre-Python-2.6 compatibility

Modified:
    qpid/trunk/qpid/python/commands/qpid-config

Modified: qpid/trunk/qpid/python/commands/qpid-config
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/python/commands/qpid-config?rev=897212&r1=897211&r2=897212&view=diff
==============================================================================
--- qpid/trunk/qpid/python/commands/qpid-config (original)
+++ qpid/trunk/qpid/python/commands/qpid-config Fri Jan  8 14:15:25 2010
@@ -24,7 +24,6 @@
 import sys
 import locale
 from qmf.console import Session
-import io
 
 _recursive         = False
 _host              = "localhost"
@@ -155,7 +154,7 @@
     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]



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to