summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2024-02-29 22:05:28 -0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2024-03-15 11:51:12 +0000
commit68970f81398268f2bd8c56beba67c6d36c31d6a3 (patch)
tree0ada53c8f04f3f9f25852a5082a3203637cdc5d2
parent739e3fc98bb80a7f9c06ba1dbd60c5ccb204ea90 (diff)
rust: Fix Python error when taking the architectural lock
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1391>
-rw-r--r--cerbero/build/recipe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py
index 8b182d2e..9f01bf5a 100644
--- a/cerbero/build/recipe.py
+++ b/cerbero/build/recipe.py
@@ -939,7 +939,7 @@ class BaseUniversalRecipe(object, metaclass=MetaUniversalRecipe):
async def _async_run_with_lock(recipe, step, arch):
if self._lock:
- with self._lock:
+ async with self._lock:
await _async_run_step(recipe, step, arch)
else:
await _async_run_step(recipe, step, arch)