Cleanup lf-activate-venv() function 47/62247/2
authorTim Johnson <tijohnson@linuxfoundation.org>
Wed, 13 Nov 2019 16:24:24 +0000 (08:24 -0800)
committerTim Johnson <tijohnson@linuxfoundation.org>
Wed, 13 Nov 2019 16:49:19 +0000 (08:49 -0800)
Minor changes to logging.

Change-Id: If635d9dcdf024bd7bd1170463ff4484ac81cca25
Signed-off-by: Tim Johnson <tijohnson@linuxfoundation.org>
jenkins-init-scripts/lf-env.sh

index ae28a19..37aaf7e 100644 (file)
@@ -145,7 +145,7 @@ function lf-activate-venv()
         return 1
     fi
 
-    echo "${FUNCNAME[0]}(): Creating '$python' venv ($lf_tmp_venv)"
+    echo "${FUNCNAME[0]}(): INFO: Creating '$python' venv ($lf_tmp_venv)"
 
     case $python in
         python2*)
@@ -176,7 +176,6 @@ function lf-activate-venv()
             return 0
         fi
         echo "${FUNCNAME[0]}(): INFO: Installing: $pkg_list"
-        echo "Installing: $pkg_list"
         $lf_tmp_venv/bin/pip install --upgrade --quiet --upgrade-strategy eager \
                              $pkg_list || return 1
         ;;
@@ -185,7 +184,7 @@ function lf-activate-venv()
         return 1
         ;;
     esac
-    echo "${FUNCNAME[0]}(): Adding $lf_tmp_venv/bin to PATH"
+    echo "${FUNCNAME[0]}(): INFO: Adding $lf_tmp_venv/bin to PATH"
     PATH=$lf_tmp_venv/bin:$PATH
     return 0