You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2020/06/06 21:00:32 UTC

[libcloud] 05/05: Fix lint.

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 a8ea3be9a996bcafe9722611bf92bbd1ec6ecb38
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Jun 6 22:56:23 2020 +0200

    Fix lint.
---
 libcloud/compute/drivers/azure_arm.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 8447713..8ec2dd2 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -525,8 +525,9 @@ class AzureNodeDriver(NodeDriver):
         :rtype: :class:`.Node`
         """
         if not ex_use_managed_disks and ex_storage_account is None:
-                raise ValueError("ex_use_managed_disks is False, "
-                                 "must provide ex_storage_account")
+            raise ValueError("ex_use_managed_disks is False, "
+                             "must provide ex_storage_account")
+
         if location is None:
             location = self.default_location
         if ex_nic is None: