You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/08/23 17:37:11 UTC

[3/3] git commit: Fix the syntax.

Fix the syntax.


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

Branch: refs/heads/trunk
Commit: d26c9a61e964ae066209a8ab73baedbfb1842d96
Parents: 6ab58f2
Author: Tomaz Muraus <to...@apache.org>
Authored: Fri Aug 23 17:36:45 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Fri Aug 23 17:36:45 2013 +0200

----------------------------------------------------------------------
 docs/examples/compute/openstack_floating_ips.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d26c9a61/docs/examples/compute/openstack_floating_ips.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/openstack_floating_ips.py b/docs/examples/compute/openstack_floating_ips.py
index d7afe3f..203e3ea 100644
--- a/docs/examples/compute/openstack_floating_ips.py
+++ b/docs/examples/compute/openstack_floating_ips.py
@@ -16,7 +16,7 @@ driver = OpenStack('your_auth_username', 'your_auth_password',
                    ex_tenant_name='your_tenant')
 
 # get the first pool - public by default
-pool, = driver.ex_list_floating_ip_pools()
+pool = driver.ex_list_floating_ip_pools()[0]
 
 # create an ip in the pool
 floating_ip = pool.create_floating_ip()