You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/12 23:27:42 UTC

[4/7] libcloud git commit: Linting with tox

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 <pe...@gmail.com>
Authored: Wed Apr 12 08:08:34 2017 -0600
Committer: Joseph Hall <pe...@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):