From f92db5e92f7b50efc01cd7f9168654cafcdf098d Mon Sep 17 00:00:00 2001 From: Joseph Hall Date: Tue, 12 May 2015 04:38:38 -0600 Subject: [PATCH] Linting --- salt/cloud/clouds/nova.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/cloud/clouds/nova.py b/salt/cloud/clouds/nova.py index 028677a773..3cdf2924c3 100644 --- a/salt/cloud/clouds/nova.py +++ b/salt/cloud/clouds/nova.py @@ -765,8 +765,8 @@ def list_nodes(call=None, **kwargs): private = [] public = [] - if not 'addresses' in server_tmp: - server_tmp = {} + if 'addresses' not in server_tmp: + server_tmp['addresses'] = {} for network in server_tmp['addresses'].keys(): for address in server_tmp['addresses'][network]: if salt.utils.cloud.is_public_ip(address.get('addr', '')):