libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [4/5] libcloud git commit: Linting with tox Closes #1032
Date Wed, 12 Apr 2017 23:17:33 GMT
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 <perlhoser@gmail.com>
Authored: Wed Apr 12 08:11:15 2017 -0600
Committer: Anthony Shaw <anthonyshaw@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):
         """


Mime
View raw message