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 2011/09/11 23:38:36 UTC

svn commit: r1169546 - /libcloud/trunk/libcloud/dns/base.py

Author: tomaz
Date: Sun Sep 11 21:38:36 2011
New Revision: 1169546

URL: http://svn.apache.org/viewvc?rev=1169546&view=rev
Log:
Fix __repr__ string.

Modified:
    libcloud/trunk/libcloud/dns/base.py

Modified: libcloud/trunk/libcloud/dns/base.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/dns/base.py?rev=1169546&r1=1169545&r2=1169546&view=diff
==============================================================================
--- libcloud/trunk/libcloud/dns/base.py (original)
+++ libcloud/trunk/libcloud/dns/base.py Sun Sep 11 21:38:36 2011
@@ -110,8 +110,8 @@ class Record(object):
         return self.driver.delete_record(record=self)
 
     def __repr__(self):
-        return ('<Record: zone=%s, name=%s, data=%s provider=%s ...>' %
-                (self.zone, self.name, self.data, self.driver.name))
+        return ('<Record: zone=%s, name=%s, data=%s, provider=%s ...>' %
+                (self.zone.id, self.name, self.data, self.driver.name))
 
 
 class DNSDriver(object):