Merge pull request #21135 from cro/ugly_pyrax_error2

Import salt.utils.openstack.pyrax differently to avoid failed import by loader
This commit is contained in:
jfindlay 2015-02-27 16:22:32 -07:00
commit 02d3b3e64c

View File

@ -17,7 +17,10 @@ import salt.utils.cloud
import salt.config as config import salt.config as config
# Import pyrax libraries # Import pyrax libraries
import salt.utils.openstack.pyrax as suop # This is typically against SaltStack coding styles,
# it should be 'import salt.utils.openstack.pyrax as suop'. Something
# in the loader is creating a name clash and making that form fail
from salt.utils.openstack import pyrax as suop
# Only load in this module is the OPENSTACK configurations are in place # Only load in this module is the OPENSTACK configurations are in place