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/81c33ee4
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/81c33ee4
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/81c33ee4

Branch: refs/heads/trunk
Commit: 81c33ee455190f22c269119dc8e5de5f729593df
Parents: 62cc88c
Author: Batuhan Osman Taşkaya <[email protected]>
Authored: Wed Jan 10 09:08:01 2018 +0300
Committer: Quentin Pradet <[email protected]>
Committed: Sun Jan 14 10:45:59 2018 +0400

----------------------------------------------------------------------
 docs/examples/dns/godaddy/pricing_domain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/81c33ee4/docs/examples/dns/godaddy/pricing_domain.py
----------------------------------------------------------------------
diff --git a/docs/examples/dns/godaddy/pricing_domain.py 
b/docs/examples/dns/godaddy/pricing_domain.py
index 4b9b40e..ea3d461 100644
--- a/docs/examples/dns/godaddy/pricing_domain.py
+++ b/docs/examples/dns/godaddy/pricing_domain.py
@@ -6,6 +6,6 @@ driver = cls('customer_id', 'api_key', 'api_secret')
 
 check = driver.ex_check_availability("wazzlewobbleflooble.com")
 if check.available is True:
-    print("Domain is available for %s %s" % (check.price, check.currency))
+    print("Domain is available for {0} {1}".format(check.price, 
check.currency))
 else:
     print("Domain is taken")

Reply via email to