fixed boto import as per #11755
This commit is contained in:
parent
7644312b20
commit
b31e29f124
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
# 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.
|
# 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:
|
try:
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
HAS_LOOSE_VERSION = True
|
HAS_LOOSE_VERSION = True
|
||||||
|
|
Loading…
Reference in a new issue