Chore: Cleanup unused deprecated code 69/70469/3
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 9 Aug 2022 08:35:51 +0000 (18:35 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 22 Aug 2022 03:02:17 +0000 (13:02 +1000)
Cleanup lftools_activate is no longer used or supported.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ie6a23f2697e14bbfc400ff8362a9426c984402be

shell/common-variables.sh

index be0a451..b7aa52a 100644 (file)
@@ -21,14 +21,3 @@ MAVEN_OPTIONS="$(echo --show-version \
     -Dmaven.repo.local=/tmp/r \
     -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
 echo "$MAVEN_OPTIONS"
-
-# Activates the lftools virtualenv
-lftools_activate() {
-    echo "WARNING: lftools_activate should no longer be used"\
-        "and will be removed in a future release."
-    virtualenv --quiet "/tmp/v/lftools"
-    set +u  # Ignore unbound variables in activate
-    # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
-    source "/tmp/v/lftools/bin/activate"
-    set -u  # Restore unbound variable checking
-}