This is an automated email from the ASF dual-hosted git repository. tomaz pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit e583297c6675bcaa7b2052a38431a8efed36cf7e Author: Tomaz Muraus <[email protected]> AuthorDate: Thu Dec 12 21:38:51 2019 +0100 Fix lint. --- libcloud/compute/drivers/digitalocean.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcloud/compute/drivers/digitalocean.py b/libcloud/compute/drivers/digitalocean.py index 643c9dd..c01572e 100644 --- a/libcloud/compute/drivers/digitalocean.py +++ b/libcloud/compute/drivers/digitalocean.py @@ -437,7 +437,8 @@ class DigitalOcean_v2_NodeDriver(DigitalOcean_v2_BaseDriver, :rytpe: ``bool`` """ attr = {'type': 'attach', 'droplet_id': node.id, - 'volume_name': volume.name, 'region': volume.extra['region_slug']} + 'volume_name': volume.name, + 'region': volume.extra['region_slug']} res = self.connection.request('/v2/volumes/actions', data=json.dumps(attr), method='POST')
