libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1391858 - /libcloud/trunk/libcloud/compute/drivers/ibm_sce.py
Date Sat, 29 Sep 2012 18:44:57 GMT
Author: tomaz
Date: Sat Sep 29 18:44:56 2012
New Revision: 1391858

URL: http://svn.apache.org/viewvc?rev=1391858&view=rev
Log:
Fix string interpolation bug in the IBM SCE driver.

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

Modified: libcloud/trunk/libcloud/compute/drivers/ibm_sce.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/ibm_sce.py?rev=1391858&r1=1391857&r2=1391858&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/ibm_sce.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/ibm_sce.py Sat Sep 29 18:44:56 2012
@@ -84,8 +84,8 @@ class IBMNodeLocation(NodeLocation):
 
     def __repr__(self):
         return ('<IBMNodeLocation: id=%s, name=%s, country=%s, '
-                'driver=%s, extra=%s>' % self.id, self.name, self.country,
-                self.driver.name, self.extra)
+                'driver=%s, extra=%s>' % (self.id, self.name, self.country,
+                self.driver.name, self.extra))
 
 
 class VolumeState(object):
@@ -123,7 +123,7 @@ class VolumeOffering(object):
 
     def __repr__(self):
         return ('<VolumeOffering: id=%s, location=%s, name=%s, extra=%s>' %
-                 self.id, self.location, self.name, self.extra)
+                (self.id, self.location, self.name, self.extra))
 
 
 class Address(object):
@@ -140,7 +140,7 @@ class Address(object):
 
     def __repr__(self):
         return ('<Address: id=%s, ip=%s, state=%s, options=%s>' %
-                 self.id, self.ip, self.state, self.options)
+                (self.id, self.ip, self.state, self.options))
 
 class IBMNodeDriver(NodeDriver):
     """



Mime
View raw message