summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-08 17:49:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:16:11 +0000
commit4494f59a2605a2f3bed285c759112ecbddf71e90 (patch)
treee14b2a8d709b80f7573f4e8d9aaccc21838810f3 /bitbake
parent13590b23c6e4ceda2cfc0fdcfea2b5e4d2efffee (diff)
downloadpoky-4494f59a2605a2f3bed285c759112ecbddf71e90.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
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):
443 return lf 443 return lf
444 lf.close() 444 lf.close()
445 except Exception: 445 except Exception:
446 continue 446 pass
447 if not retry: 447 if not retry:
448 return None 448 return None
449 449