You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2012/09/29 20:44:57 UTC

svn commit: r1391858 - /libcloud/trunk/libcloud/compute/drivers/ibm_sce.py

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):
     """