Fix: Update pyenv version selection 74/70574/4
authorSangwook Ha <sangwook.ha@verizon.com>
Wed, 31 Aug 2022 06:54:49 +0000 (23:54 -0700)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 31 Aug 2022 10:36:49 +0000 (20:36 +1000)
lf-pyver() fails to include the currently selected version in the output
of 'pyenv versions', which makes the version change every time the local
version is set by pyenv with the version from lf-pyver().

Fix the command to extract the list of Python versions to include all
the numeric versions in the list.

Issue-ID: RELENG-4403
Change-Id: I8eb1a1842a9ccd7514f096ec6989559a5526c3b6
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>

No differences found