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:17:33 UTC

[4/5] libcloud git commit: Linting with tox Closes #1032

Linting with tox
Closes #1032


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

Branch: refs/heads/trunk
Commit: 038b646c0b4f0e515a61a14fb794632d650a0926
Parents: 18a0ee8
Author: Joseph Hall <pe...@gmail.com>
Authored: Wed Apr 12 08:11:15 2017 -0600
Committer: Anthony Shaw <an...@apache.org>
Committed: Thu Apr 13 09:16:09 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/038b646c/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 437526a..57f55f4 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -849,8 +849,8 @@ class AzureNodeDriver(NodeDriver):
         r = self.connection.request(action,
                                     params={"api-version": "2016-09-01"})
         return [AzureResourceGroup(grp["id"], grp["name"], grp["location"],
-                                   grp["properties"]) for grp \
-                                   in r.object["value"]]
+                                   grp["properties"])
+                for grp in r.object["value"]]
 
     def ex_list_networks(self):
         """