libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1461401 - /libcloud/branches/0.12.x/libcloud/compute/drivers/ec2.py
Date Wed, 27 Mar 2013 03:39:36 GMT
Author: tomaz
Date: Wed Mar 27 03:39:36 2013
New Revision: 1461401

URL: http://svn.apache.org/r1461401
Log:
Fix __repr__.

Modified:
    libcloud/branches/0.12.x/libcloud/compute/drivers/ec2.py

Modified: libcloud/branches/0.12.x/libcloud/compute/drivers/ec2.py
URL: http://svn.apache.org/viewvc/libcloud/branches/0.12.x/libcloud/compute/drivers/ec2.py?rev=1461401&r1=1461400&r2=1461401&view=diff
==============================================================================
--- libcloud/branches/0.12.x/libcloud/compute/drivers/ec2.py (original)
+++ libcloud/branches/0.12.x/libcloud/compute/drivers/ec2.py Wed Mar 27 03:39:36 2013
@@ -348,7 +348,7 @@ class EC2NodeLocation(NodeLocation):
         return (('<EC2NodeLocation: id=%s, name=%s, country=%s, '
                  'availability_zone=%s driver=%s>')
                 % (self.id, self.name, self.country,
-                   self.availability_zone.name, self.driver.name))
+                   self.availability_zone, self.driver.name))
 
 
 class EC2Response(AWSBaseResponse):



Mime
View raw message