libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] 05/05: Fix lint.
Date Sat, 06 Jun 2020 21:00:32 GMT
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 <tomaz@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:


Mime
View raw message