libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1345520 - in /libcloud/trunk: CHANGES libcloud/compute/drivers/ibm_sce.py
Date Sat, 02 Jun 2012 15:15:11 GMT
Author: tomaz
Date: Sat Jun  2 15:15:11 2012
New Revision: 1345520

URL: http://svn.apache.org/viewvc?rev=1345520&view=rev
Log:
Fix a bug with Python 3 support in IBM SCE driver. Part of LIBCLOUD-204.

Modified:
    libcloud/trunk/CHANGES
    libcloud/trunk/libcloud/compute/drivers/ibm_sce.py

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1345520&r1=1345519&r2=1345520&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Sat Jun  2 15:15:11 2012
@@ -11,6 +11,9 @@ Changes with Apache Libcloud in developm
       when we immediately can't connect to a server. ; LIBCLOUD-197
       [Jay Doane]
 
+    - Fix a bug with Python 3 support in IBM SCE driver. ; LIBCLOUD-204
+      [Sengor Kusturica, Hutson Betts]
+
   *) DNS:
     - Add support for GEO RecordType to Zerigo driver. ; LIBCLOUD-203
       [Gary Wilson]

Modified: libcloud/trunk/libcloud/compute/drivers/ibm_sce.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/ibm_sce.py?rev=1345520&r1=1345519&r2=1345520&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/ibm_sce.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/ibm_sce.py Sat Jun  2 15:15:11 2012
@@ -59,7 +59,7 @@ class IBMConnection(ConnectionUserAndKey
     def add_default_headers(self, headers):
         headers['Accept'] = 'text/xml'
         headers['Authorization'] = ('Basic %s' % (base64.b64encode(b('%s:%s' %
-                                                 (self.user_id, self.key)))))
+                                                 (self.user_id, self.key))).decode('utf-8')))
         if not 'Content-Type' in headers:
             headers['Content-Type'] = 'text/xml'
         return headers



Mime
View raw message