fixed boto import as per #11755

This commit is contained in:
Brian Coca 2016-04-18 10:39:27 -04:00
parent 7644312b20
commit b31e29f124

View file

@ -26,6 +26,11 @@
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
try:
import boto.ec2
except:
pass # error should already be covered by import boto
try:
from distutils.version import LooseVersion
HAS_LOOSE_VERSION = True