summaryrefslogtreecommitdiffstats
path: root/openstack/common/threadgroup.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-05-30 11:01:42 +0000
committerGerrit Code Review <review@openstack.org>2013-05-30 11:01:42 +0000
commit95da21822653c878973bd267eea36b9683040d6d (patch)
treedcc9dfe1efddb05b774776006146a615dd1fb1e5 /openstack/common/threadgroup.py
parente9c389942d0d697484d390479155103ed74aa02d (diff)
parent35660dac73f9f7428f9c441583464b5942ca6827 (diff)
downloadoslo-95da21822653c878973bd267eea36b9683040d6d.tar.gz
oslo-95da21822653c878973bd267eea36b9683040d6d.tar.xz
oslo-95da21822653c878973bd267eea36b9683040d6d.zip
Merge "Enable hacking H401 test"
Diffstat (limited to 'openstack/common/threadgroup.py')
-rw-r--r--openstack/common/threadgroup.py6
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).