From 4494f59a2605a2f3bed285c759112ecbddf71e90 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 8 Nov 2011 17:49:32 +0000 Subject: utils.py: Fix lockfile retry handling The lockfile retry parameter is expected to return immediately after attempting to take the lock. There was a bug in the logic which this patch fixed to ensure it does that. (Bitbake rev: f421ef819f00ac659504d9af41bcc8323422ff8c) Signed-off-by: Richard Purdie --- bitbake/lib/bb/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 1f5540716a..f9057020fe 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -443,7 +443,7 @@ def lockfile(name, shared=False, retry=True): return lf lf.close() except Exception: - continue + pass if not retry: return None -- cgit v1.2.3-54-g00ecf