From d66461867f915b3b63b02bbf5b587a7319359660 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Mon, 18 Feb 2008 16:58:37 +0000
Subject: [PATCH] Fix a couple of SharedLock docstrings

Use the actual class name rather than a spaced version of it.

Reviewed-by: iustinp
---
 lib/locking.py                  | 2 +-
 test/ganeti.locking_unittest.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/locking.py b/lib/locking.py
index 4e9911026..440eecf1e 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 bd2691b36..4ed355e22 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()
-- 
GitLab