diff options
author | Sergey Lukjanov <slukjanov@mirantis.com> | 2013-05-30 08:18:47 +0400 |
---|---|---|
committer | Sergey Lukjanov <slukjanov@mirantis.com> | 2013-05-30 08:52:56 +0400 |
commit | 35660dac73f9f7428f9c441583464b5942ca6827 (patch) | |
tree | 86bad6b00f5fd4a764d99224c0511fc9deb52b8b /openstack/common/threadgroup.py | |
parent | 7dd2492f6b23c6a5ab2489c53e0d07285deb50f9 (diff) | |
download | oslo-35660dac73f9f7428f9c441583464b5942ca6827.tar.gz oslo-35660dac73f9f7428f9c441583464b5942ca6827.tar.xz oslo-35660dac73f9f7428f9c441583464b5942ca6827.zip |
Enable hacking H401 test
H401 docstring should not start with a space
Change-Id: I761665ea9aff1f55de9f629ff8d108ba141eaf79
Diffstat (limited to 'openstack/common/threadgroup.py')
-rw-r--r-- | openstack/common/threadgroup.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack/common/threadgroup.py b/openstack/common/threadgroup.py index 6cafbaf..877059c 100644 --- a/openstack/common/threadgroup.py +++ b/openstack/common/threadgroup.py @@ -26,7 +26,7 @@ LOG = logging.getLogger(__name__) def _thread_done(gt, *args, **kwargs): - """ Callback function to be passed to GreenThread.link() when we spawn() + """Callback function to be passed to GreenThread.link() when we spawn() Calls the :class:`ThreadGroup` to notify if. """ @@ -34,7 +34,7 @@ def _thread_done(gt, *args, **kwargs): class Thread(object): - """ Wrapper around a greenthread, that holds a reference to the + """Wrapper around a greenthread, that holds a reference to the :class:`ThreadGroup`. The Thread will notify the :class:`ThreadGroup` when it has done so it can be removed from the threads list. """ @@ -50,7 +50,7 @@ class Thread(object): class ThreadGroup(object): - """ The point of the ThreadGroup classis to: + """The point of the ThreadGroup classis to: * keep track of timers and greenthreads (making it easier to stop them when need be). |