diff --git a/lib/locking.py b/lib/locking.py index 4e9911026f7766ac7ac3f412e4d2dfb2c8c154f3..440eecf1e41e6aafd87cc85d3e9c197875fd4575 100644 --- a/lib/locking.py +++ b/lib/locking.py @@ -38,7 +38,7 @@ class SharedLock: """ def __init__(self): - """Construct a new Shared Lock""" + """Construct a new SharedLock""" # we have two conditions, c_shr and c_exc, sharing the same lock. self.__lock = threading.Lock() self.__turn_shr = threading.Condition(self.__lock) diff --git a/test/ganeti.locking_unittest.py b/test/ganeti.locking_unittest.py index bd2691b36f1175b36d5249144c0937ce2e440c5c..4ed355e224be3aa68d3ae6b0140bc7be1bde45fe 100755 --- a/test/ganeti.locking_unittest.py +++ b/test/ganeti.locking_unittest.py @@ -32,7 +32,7 @@ from threading import Thread class TestSharedLock(unittest.TestCase): - """Shared lock tests""" + """SharedLock tests""" def setUp(self): self.sl = locking.SharedLock()