Revision d6646186

b/lib/locking.py
38 38

  
39 39
  """
40 40
  def __init__(self):
41
    """Construct a new Shared Lock"""
41
    """Construct a new SharedLock"""
42 42
    # we have two conditions, c_shr and c_exc, sharing the same lock.
43 43
    self.__lock = threading.Lock()
44 44
    self.__turn_shr = threading.Condition(self.__lock)
b/test/ganeti.locking_unittest.py
32 32

  
33 33

  
34 34
class TestSharedLock(unittest.TestCase):
35
  """Shared lock tests"""
35
  """SharedLock tests"""
36 36

  
37 37
  def setUp(self):
38 38
    self.sl = locking.SharedLock()

Also available in: Unified diff