libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [4/7] libcloud git commit: Linting with tox
Date Wed, 12 Apr 2017 23:27:42 GMT
Linting with tox


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

Branch: refs/heads/trunk
Commit: 010b75525e60f83eb931712b8223f25442ced619
Parents: b806d3b
Author: Joseph Hall <perlhoser@gmail.com>
Authored: Wed Apr 12 08:08:34 2017 -0600
Committer: Joseph Hall <perlhoser@gmail.com>
Committed: Wed Apr 12 08:08:34 2017 -0600

----------------------------------------------------------------------
 libcloud/compute/drivers/azure_arm.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/010b7552/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 6ebe65f..03d8b2f 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -858,8 +858,8 @@ class AzureNodeDriver(NodeDriver):
         return [AzureNetworkSecurityGroup(net["id"],
                                           net["name"],
                                           net["location"],
-                                          net["properties"]) \
-                                          for net in r.object["value"]]
+                                          net["properties"])
+                for net in r.object["value"]]
 
     def ex_create_network_security_group(self, name, resource_group,
                                          location=None):


Mime
View raw message