Skip to content

Commit

Permalink
Don't catch UnknownLockfileVersion exception
Browse files Browse the repository at this point in the history
I want to see which tests (if any) fail.
  • Loading branch information
maresb committed Sep 6, 2023
1 parent 603d869 commit dad24ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_lock/conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ def _render_lockfile_for_install(

try:
lock_content = parse_conda_lock_file(pathlib.Path(filename))
except (yaml.YAMLError, UnknownLockfileVersion):
except yaml.YAMLError:
# This indicates a kind explicit lockfile, which is already rendered
yield filename
return
Expand Down

0 comments on commit dad24ac

Please sign in to comment.