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 2016/12/02 10:32:24 UTC

[2/9] libcloud git commit: Fix a pep8 linter issue.

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 <da...@gmail.com>
Authored: Tue Nov 22 15:35:36 2016 +0100
Committer: Dave Halter <da...@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):