String Formatting Fixment

Signed-off-by: Quentin Pradet <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/ef452c2b
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/ef452c2b
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/ef452c2b

Branch: refs/heads/trunk
Commit: ef452c2bf940e197010a8ce394230908631a65f7
Parents: 7088567
Author: Batuhan Osman Taşkaya <[email protected]>
Authored: Wed Jan 10 09:06:12 2018 +0300
Committer: Quentin Pradet <[email protected]>
Committed: Sun Jan 14 10:45:59 2018 +0400

----------------------------------------------------------------------
 docs/examples/dns/godaddy/listing_records.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/ef452c2b/docs/examples/dns/godaddy/listing_records.py
----------------------------------------------------------------------
diff --git a/docs/examples/dns/godaddy/listing_records.py 
b/docs/examples/dns/godaddy/listing_records.py
index 8ae1703..5c032ae 100644
--- a/docs/examples/dns/godaddy/listing_records.py
+++ b/docs/examples/dns/godaddy/listing_records.py
@@ -7,6 +7,6 @@ driver = cls('customer_id', 'api_key', 'api_secret')
 zone = driver.get_zone('wazzle-flooble.com')
 records = driver.list_records(zone)
 for record in records:
-    print("Type : %s" % record.type)
-    print("Data: %s" % record.data)
-    print("TTL: %s" % record.ttl)
+    print("Type : {}".format(record.type))
+    print("Data: {}".format(record.data))
+    print("TTL: {}".format(record.ttl))

Reply via email to