Repository: libcloud
Updated Branches:
  refs/heads/trunk 419c69441 -> 57913fceb


fix lint issue


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

Branch: refs/heads/trunk
Commit: c778f1d42816575198759eb97a33c63855269971
Parents: 0031900
Author: Samuel Chong <[email protected]>
Authored: Thu Jan 5 13:30:38 2017 +1100
Committer: Anthony Shaw <[email protected]>
Committed: Tue Feb 21 17:17:27 2017 +0100

----------------------------------------------------------------------
 .../compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c778f1d4/docs/examples/compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py
----------------------------------------------------------------------
diff --git 
a/docs/examples/compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py 
b/docs/examples/compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py
index f0b4042..5abb3cd 100644
--- a/docs/examples/compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py
+++ b/docs/examples/compute/dimensiondata/Nodes_Create_mcp2_Uncustomised.py
@@ -6,7 +6,7 @@ import libcloud.security
 # Get dimension data driver
 libcloud.security.VERIFY_SSL_CERT = True
 cls = get_driver(Provider.DIMENSIONDATA)
-driver = cls('myusername','mypassword', region='dd-au')
+driver = cls('myusername', 'mypassword', region='dd-au')
 
 # Get location
 location = driver.ex_get_location_by_id(id='AU9')
@@ -14,7 +14,8 @@ location = driver.ex_get_location_by_id(id='AU9')
 # Get network domain by location
 networkDomainName = "Test Apache Libcloud"
 network_domains = driver.ex_list_network_domains(location=location)
-my_network_domain = [d for d in network_domains if d.name == 
networkDomainName][0]
+my_network_domain = [d for d in network_domains if d.name ==
+                     networkDomainName][0]
 
 vlan = driver.ex_list_vlans(name='Libcloud Test VLAN')[0]
 

Reply via email to