mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 16:34:12 +01:00
Improve a couple of docstrings
This commit is contained in:
parent
f1b81bc60c
commit
b752a58ed6
2 changed files with 6 additions and 1 deletions
|
|
@ -734,7 +734,9 @@ class Database(object):
|
|||
return conn
|
||||
|
||||
def _close(self):
|
||||
"""Close the all connections to the underlying SQLite database.
|
||||
"""Close the all connections to the underlying SQLite database
|
||||
from all threads. This does not render the database object
|
||||
unusable; new connections can still be opened on demand.
|
||||
"""
|
||||
thread_id = threading.current_thread().ident
|
||||
with self._shared_map_lock:
|
||||
|
|
|
|||
|
|
@ -219,6 +219,9 @@ class ConvertPlugin(BeetsPlugin):
|
|||
|
||||
def convert_item(self, dest_dir, keep_new, path_formats, fmt,
|
||||
pretend=False):
|
||||
"""A pipeline thread that converts `Item` objects from a
|
||||
library.
|
||||
"""
|
||||
command, ext = get_format(fmt)
|
||||
item, original, converted = None, None, None
|
||||
while True:
|
||||
|
|
|
|||
Loading…
Reference in a new issue