]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: remove py2 from test stream
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 19 Aug 2020 23:58:34 +0000 (11:58 +1200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 7 Sep 2020 09:01:03 +0000 (11:01 +0200)
Since py2 is EOL, and cephadm requires py3 anyway this
patch removes the py2 test iteration from the functional
testing suite.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit db5f758ec5d1887b664d16d08552ff272b8c214f)

qa/workunits/cephadm/test_cephadm.sh

index b1b1b20651761ac94d7044d5ea326978d4431d33..76d564d13461db3b2bb3c0131da57ab8254f20b9 100755 (executable)
@@ -39,7 +39,6 @@ if [ -z "$PYTHON_KLUDGE" ]; then
     # see which pythons we should test with
     PYTHONS=""
     which python3 && PYTHONS="$PYTHONS python3"
-    which python2 && PYTHONS="$PYTHONS python2"
     echo "PYTHONS $PYTHONS"
     if [ -z "$PYTHONS" ]; then
        echo "No PYTHONS found!"