Skip to content

Commit

Permalink
Fix call to get_conda_operation_locks
Browse files Browse the repository at this point in the history
  • Loading branch information
tl-hbk committed Mar 27, 2024
1 parent 054309a commit 03f702b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conda_build/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,9 @@ def create_env(
log.debug(str(specs_or_precs))

if not locks:
locks = utils.get_conda_operation_locks(config)
locks = utils.get_conda_operation_locks(
config.locking, config.bldpkgs_dirs, config.timeout
)
try:
with utils.try_acquire_locks(locks, timeout=config.timeout):
# input is a list of specs in MatchSpec format
Expand Down

0 comments on commit 03f702b

Please sign in to comment.