Make --list-profiles argument more intuitive

This commit is contained in:
rallytime 2014-08-26 19:19:25 -06:00
parent e1b39609c5
commit 2bf14442fc

View File

@ -519,7 +519,7 @@ class Cloud(object):
providers = info.get('provider')
if providers:
prov_name = providers.split(':')[1]
prov_name = providers.split(':')[0]
profiles.add((alias, prov_name))
if prov_name == provider: