From 457c9dd0bf03789687a11d2659220eea8e502bf1 Mon Sep 17 00:00:00 2001 From: Zara Date: Mon, 18 Jan 2016 11:51:35 +0000 Subject: [PATCH] Fix typo 'sempahore' -> 'semaphore' Change-Id: I7184c51da81ed4ac0a44e5b0f6fb2f6adda6bdfd --- storyboard/openstack/common/lockutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storyboard/openstack/common/lockutils.py b/storyboard/openstack/common/lockutils.py index 2624ec79..8e64b80c 100644 --- a/storyboard/openstack/common/lockutils.py +++ b/storyboard/openstack/common/lockutils.py @@ -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'))