String Formatting Fixment

Signed-off-by: Quentin Pradet <quent...@apache.org>


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

Branch: refs/heads/trunk
Commit: 62cc88c16f85810ae09a4e56517672a6ee09c238
Parents: ef452c2
Author: Batuhan Osman Taşkaya <batuhanosmantask...@gmail.com>
Authored: Wed Jan 10 09:07:06 2018 +0300
Committer: Quentin Pradet <quent...@apache.org>
Committed: Sun Jan 14 10:45:59 2018 +0400

----------------------------------------------------------------------
 docs/examples/dns/godaddy/listing_zones.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/62cc88c1/docs/examples/dns/godaddy/listing_zones.py
----------------------------------------------------------------------
diff --git a/docs/examples/dns/godaddy/listing_zones.py 
b/docs/examples/dns/godaddy/listing_zones.py
index 7704c8d..ae7e292 100644
--- a/docs/examples/dns/godaddy/listing_zones.py
+++ b/docs/examples/dns/godaddy/listing_zones.py
@@ -6,5 +6,5 @@ driver = cls('customer_id', 'api_key', 'api_secret')
 
 zones = driver.list_zones()
 for zone in zones:
-    print("Domain : %s" % zone.domain)
-    print("Expires: %s" % zone.extra['expires'])
+    print("Domain : {}".format(zone.domain))
+    print("Expires: {}".format(zone.extra['expires']))

Reply via email to