libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quent...@apache.org
Subject [1/4] libcloud git commit: String Formatting Fixment
Date Sun, 14 Jan 2018 06:46:46 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 7088567a6 -> e2308f1bf


String Formatting Fixment

Signed-off-by: Quentin Pradet <quentinp@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 <batuhanosmantaskaya@gmail.com>
Authored: Wed Jan 10 09:08:39 2018 +0300
Committer: Quentin Pradet <quentinp@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))


Mime
View raw message