'sempahore' -> 'semaphore'

Change-Id: I7184c51da81ed4ac0a44e5b0f6fb2f6adda6bdfd
This commit is contained in:
Zara 2016-01-18 11:51:35 +00:00
parent de29593e97
commit 457c9dd0bf

View File

@ -154,7 +154,7 @@ class _PosixLock(object):
# Hash the name because it's not valid to have POSIX semaphore
# names with things like / in them. Then use base64 to encode
# the digest() instead taking the hexdigest() because the
# result is shorter and most systems can't have shm sempahore
# result is shorter and most systems can't have shm semaphore
# names longer than 31 characters.
h = hashlib.sha1()
h.update(name.encode('ascii'))