From: Anil Belur Date: Tue, 9 Aug 2022 08:35:51 +0000 (+1000) Subject: Chore: Cleanup unused deprecated code X-Git-Tag: v0.79.4~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F70469%2F3;p=releng%2Fglobal-jjb.git Chore: Cleanup unused deprecated code Cleanup lftools_activate is no longer used or supported. Signed-off-by: Anil Belur Change-Id: Ie6a23f2697e14bbfc400ff8362a9426c984402be --- diff --git a/shell/common-variables.sh b/shell/common-variables.sh index be0a4512..b7aa52ae 100644 --- a/shell/common-variables.sh +++ b/shell/common-variables.sh @@ -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 -}