Skip to content

Commit

Permalink
Merge pull request #5 from nVitius/patch-1
Browse files Browse the repository at this point in the history
fix: strip whitespace from pyenv output
  • Loading branch information
tjquillan authored Sep 24, 2024
2 parents 29a0e49 + 1f99b7e commit 1fdc4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry_plugin_pyenv/pyenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_remote_versions() -> list[Version]:
versions: list[Version] = []
for line in output.splitlines():
try:
versions.append(Version.parse(line))
versions.append(Version.parse(line.strip()))
except:
pass
return versions

0 comments on commit 1fdc4a4

Please sign in to comment.