libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [2/9] libcloud git commit: Fix a pep8 linter issue.
Date Fri, 02 Dec 2016 10:32:24 GMT
Fix a pep8 linter issue.


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

Branch: refs/heads/trunk
Commit: 588cb0c646f9bca2be09f47816f9a3e09c84449c
Parents: c6ad701
Author: Dave Halter <davidhalter88@gmail.com>
Authored: Tue Nov 22 15:35:36 2016 +0100
Committer: Dave Halter <davidhalter88@gmail.com>
Committed: Tue Nov 22 15:35:36 2016 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/cloudscale.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/588cb0c6/libcloud/compute/drivers/cloudscale.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudscale.py b/libcloud/compute/drivers/cloudscale.py
index a439b12..156f249 100644
--- a/libcloud/compute/drivers/cloudscale.py
+++ b/libcloud/compute/drivers/cloudscale.py
@@ -149,7 +149,10 @@ class CloudscaleNodeDriver(NodeDriver):
         return self._to_node(res.object)
 
     def destroy_node(self, node):
-        res = self.connection.request(self._get_server_url(node.id), method='DELETE')
+        res = self.connection.request(
+            self._get_server_url(node.id),
+            method='DELETE'
+        )
         return res.status == httplib.NO_CONTENT
 
     def _get_server_url(self, uuid):


Mime
View raw message