libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject git commit: Fix a typo in the example.
Date Wed, 20 Aug 2014 11:37:34 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 2ed6882a7 -> 3a8d7ff5f


Fix a typo in the example.


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

Branch: refs/heads/trunk
Commit: 3a8d7ff5f047c7b3476b8dcffa0e6850e952a645
Parents: 2ed6882
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Wed Aug 20 13:37:24 2014 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Wed Aug 20 13:37:24 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3a8d7ff5/docs/examples/http_proxy/set_http_proxy_method.py
----------------------------------------------------------------------
diff --git a/docs/examples/http_proxy/set_http_proxy_method.py b/docs/examples/http_proxy/set_http_proxy_method.py
index d8c5e83..cb9b84a 100644
--- a/docs/examples/http_proxy/set_http_proxy_method.py
+++ b/docs/examples/http_proxy/set_http_proxy_method.py
@@ -7,6 +7,6 @@ PROXY_URL = 'http://<proxy hostname>:<proxy port>'
 
 cls = get_driver(Provider.RACKSPACE)
 driver = cls('username', 'api key', region='ord')
-driver.set_http_proxy(proxy_url=PROXY_URL)
+driver.connection.set_http_proxy(proxy_url=PROXY_URL)
 
 pprint(driver.list_nodes())


Mime
View raw message