Double-check main_cloud_config

This commit is contained in:
Joseph Hall 2015-06-24 14:42:37 -06:00
parent eeb05a1b10
commit 59c3081e49

View File

@ -1290,6 +1290,9 @@ class Cloud(object):
except IOError:
main_cloud_config = {}
if main_cloud_config is None:
main_cloud_config = {}
profile_details = self.opts['profiles'][profile]
alias, driver = profile_details['provider'].split(':')
mapped_providers = self.map_providers_parallel()