Revert "Revert Xenial to Python 2"

We landed the fix for this in
Icdb769541eee9793f261b4b8ec563be76ee13fe2.

This reverts commit 2978ff885b.

Change-Id: Iecfc41ab2aad57bc4f6f86a13810b534d19a8fd5
This commit is contained in:
Gregory Haynes 2016-12-21 17:39:27 +00:00 committed by Ian Wienand
parent 54b2733ad8
commit 7603f97cad
2 changed files with 0 additions and 12 deletions

View File

@ -5,8 +5,6 @@ if [ -z "${DIB_PYTHON_VERSION:-}" ]; then
DIB_PYTHON_VERSION=2
elif [ "$DIB_RELEASE" == "trusty" ]; then
DIB_PYTHON_VERSION=2
elif [ "$DIB_RELEASE" == "xenial" ]; then
DIB_PYTHON_VERSION=2
fi
elif [ "$DISTRO_NAME" == "debian" ]; then
DIB_PYTHON_VERSION=2

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# hack to get python into Xenial python3 only images, while we
# work-around issues.
apt-get -y install python || true