Skip to content

Commit

Permalink
fix exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
FHTMitchell committed May 26, 2023
1 parent 1e72393 commit 837cd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_lock/src_parser/environment_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def parse_environment_file(
try:
# conda-lock will use `--override-channels` so nodefaults is redundant.
channels.remove("nodefaults")
except IndexError:
except ValueError:
pass

# These extension fields are nonstandard
Expand Down

0 comments on commit 837cd55

Please sign in to comment.