libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quent...@apache.org
Subject [11/13] libcloud git commit: add space after if min_ram
Date Fri, 02 Mar 2018 05:42:38 GMT
add space after if min_ram

>  it's surprising to visually group min_ram and min_disk. I guess I
>  would have added newlines after the if statements. - pquentin

Signed-off-by: Quentin Pradet <quentinp@apache.org>


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

Branch: refs/heads/trunk
Commit: 28586230c26d83ab4a3510713771f1bd3cf085d7
Parents: e3ec8e5
Author: Rick van de Loo <rickvandeloo@gmail.com>
Authored: Sat Feb 10 18:08:44 2018 +0100
Committer: Quentin Pradet <quentinp@apache.org>
Committed: Fri Mar 2 09:34:26 2018 +0400

----------------------------------------------------------------------
 libcloud/compute/drivers/openstack.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/28586230/libcloud/compute/drivers/openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py
index d528758..a8d339f 100644
--- a/libcloud/compute/drivers/openstack.py
+++ b/libcloud/compute/drivers/openstack.py
@@ -1296,6 +1296,7 @@ class OpenStack_1_1_NodeDriver(OpenStackNodeDriver):
 
         if min_ram is None:
             min_ram = api_image.get('minRam')
+
         min_disk = api_image.get('min_disk')
 
         if min_disk is None:


Mime
View raw message