From db7aff4512b4e0a7fe7c3e07744240dd9a2469f9 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 2 Mar 2014 09:00:47 +0100 Subject: [PATCH] utils: Tweak docstrings from PR#707 --- mopidy/utils/path.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy/utils/path.py b/mopidy/utils/path.py index a2205c4f..91cd70dd 100644 --- a/mopidy/utils/path.py +++ b/mopidy/utils/path.py @@ -114,7 +114,7 @@ def _find_worker(relative, hidden, done, work, results, errors): """Worker thread for collecting stat() results. :param str relative: directory to make results relative to - :param bool hidden: if entries starting with . should be ignored + :param bool hidden: whether to include files and dirs starting with '.' :param threading.Event done: event indicating that all work has been done :param queue.Queue work: queue of paths to process :param dict results: shared dictionary for storing all the stat() results @@ -152,10 +152,10 @@ def _find(root, thread_count=10, hidden=True, relative=False): Note that we do _not_ handle loops from bad sym/hardlinks in any way. - :param str root: root directory to search from, may no be a file + :param str root: root directory to search from, may not be a file :param int thread_count: number of workers to use, mainly useful to mitigate network lag when scanning on NFS etc. - :param bool hidden: include files and directory starting with '.'? + :param bool hidden: whether to include files and dirs starting with '.' :param bool relative: if results should be relative to root or absolute """ threads = []