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