aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/utils.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-01-06 17:35:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-01-06 17:35:11 +0000
commite7012f75948114bb8a7596e2a9543af012d1e30e (patch)
treec8831dbb147ce1fbcac0bfe0e6ea4a7a54ebe3d5 /lib/bb/utils.py
parent97750696168d286a1005cd8b7272d31c4c270be6 (diff)
downloadbitbake-e7012f75948114bb8a7596e2a9543af012d1e30e.tar.gz
fetchers: Properly raise errors for invalid source URI protocols (from poky). utils.py: Fix a spelling mistake.
Diffstat (limited to 'lib/bb/utils.py')
-rw-r--r--lib/bb/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index c27dafd61..a2a5ff6cf 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -205,13 +205,13 @@ def Enum(*names):
def lockfile(name):
"""
- Use the file fn as a lock file, return when the lock has been aquired.
+ Use the file fn as a lock file, return when the lock has been acquired.
Returns a variable to pass to unlockfile().
"""
while True:
# If we leave the lockfiles lying around there is no problem
# but we should clean up after ourselves. This gives potential
- # for races though. To work around this, when we aquire the lock
+ # for races though. To work around this, when we acquire the lock
# we check the file we locked was still the lock file on disk.
# by comparing inode numbers. If they don't match or the lockfile
# no longer exists, we start again.