summaryrefslogtreecommitdiff
path: root/src/leap/util/checkerthread.py
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-05-07 16:08:55 -0300
committerTomas Touceda <chiiph@leap.se>2013-05-07 16:08:55 -0300
commit4cc3c7d3f0d63d97df0d40c3e2d0941c5e069eb9 (patch)
treedfabf2a91cd8466b572539b73d38273eef733339 /src/leap/util/checkerthread.py
parent76641e028f4a8b6c5c89ad0e9ff4bfecc075d678 (diff)
parente6b7d52d827109d6fc8d79a28e8d46964e1ad94c (diff)
Merge remote-tracking branch 'kali/feature/update-docs' into develop
Diffstat (limited to 'src/leap/util/checkerthread.py')
-rw-r--r--src/leap/util/checkerthread.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/util/checkerthread.py b/src/leap/util/checkerthread.py
index 47a96ec5..02aa333f 100644
--- a/src/leap/util/checkerthread.py
+++ b/src/leap/util/checkerthread.py
@@ -48,10 +48,10 @@ class CheckerThread(QtCore.QThread):
def get_should_quit(self):
"""
- Returns wether this thread should quit
+ Returns whether this thread should quit
- @rtype: bool
- @return: True if the thread should terminate itself, Flase otherwise
+ :return: True if the thread should terminate itself, Flase otherwise
+ :rtype: bool
"""
QtCore.QMutexLocker(self._should_quit_lock)
@@ -78,8 +78,8 @@ class CheckerThread(QtCore.QThread):
"""
Adds a list of checks to the ones being executed
- @param checks: check functions to perform
- @type checkes: list
+ :param checks: check functions to perform
+ :type checkes: list
"""
with QtCore.QMutexLocker(self._checks_lock):
self._checks += checks