You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by qu...@apache.org on 2018/01/14 06:46:46 UTC
[1/4] libcloud git commit: String Formatting Fixment
Repository: libcloud
Updated Branches:
refs/heads/trunk 7088567a6 -> e2308f1bf
String Formatting Fixment
Signed-off-by: Quentin Pradet <qu...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e2308f1b
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e2308f1b
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e2308f1b
Branch: refs/heads/trunk
Commit: e2308f1bf42681065710369d23293efe4a56a3e8
Parents: 81c33ee
Author: Batuhan Osman Taşkaya <ba...@gmail.com>
Authored: Wed Jan 10 09:08:39 2018 +0300
Committer: Quentin Pradet <qu...@apache.org>
Committed: Sun Jan 14 10:45:59 2018 +0400
----------------------------------------------------------------------
docs/examples/loadbalancer/softlayer/list_balancers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e2308f1b/docs/examples/loadbalancer/softlayer/list_balancers.py
----------------------------------------------------------------------
diff --git a/docs/examples/loadbalancer/softlayer/list_balancers.py b/docs/examples/loadbalancer/softlayer/list_balancers.py
index 18e6841..45083d6 100644
--- a/docs/examples/loadbalancer/softlayer/list_balancers.py
+++ b/docs/examples/loadbalancer/softlayer/list_balancers.py
@@ -10,4 +10,4 @@ driver = cls(key=USER_NAME, secret=SECRET_KEY)
balancers = driver.list_balancers()
for balancer in balancers:
- print('%s %s' % (balancer, balancer.extra))
+ print('{0} {1}'.format(balancer, balancer.extra))
[4/4] libcloud git commit: String Formatting Fixment
Posted by qu...@apache.org.
String Formatting Fixment
Signed-off-by: Quentin Pradet <qu...@apache.org>
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 <ba...@gmail.com>
Authored: Wed Jan 10 09:06:12 2018 +0300
Committer: Quentin Pradet <qu...@apache.org>
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))
[2/4] libcloud git commit: String Formatting Fixment
Posted by qu...@apache.org.
String Formatting Fixment
Signed-off-by: Quentin Pradet <qu...@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 <ba...@gmail.com>
Authored: Wed Jan 10 09:07:06 2018 +0300
Committer: Quentin Pradet <qu...@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']))
[3/4] libcloud git commit: String Formatting Fixment
Posted by qu...@apache.org.
String Formatting Fixment
Signed-off-by: Quentin Pradet <qu...@apache.org>
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 <ba...@gmail.com>
Authored: Wed Jan 10 09:08:01 2018 +0300
Committer: Quentin Pradet <qu...@apache.org>
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")