diff --git a/voussoirkit/downloady.py b/voussoirkit/downloady.py index 3a39130..58aed36 100644 --- a/voussoirkit/downloady.py +++ b/voussoirkit/downloady.py @@ -10,7 +10,6 @@ from voussoirkit import clipext from voussoirkit import dotdict from voussoirkit import pathclass from voussoirkit import ratelimiter -from voussoirkit import safeprint from voussoirkit import vlogging log = vlogging.getLogger(__name__, 'downloady') diff --git a/voussoirkit/interactive.py b/voussoirkit/interactive.py index 75c9fdb..3f368e4 100644 --- a/voussoirkit/interactive.py +++ b/voussoirkit/interactive.py @@ -12,7 +12,8 @@ def _abc_make_option_letters(options): option_letters = {} letter_length = math.ceil(len(options) / 26) for (index, option) in enumerate(options): - letter = basenumber.to_base(index, 26, alphabet=string.ascii_lowercase).rjust(letter_length, 'a') + letter = basenumber.to_base(index, 26, alphabet=string.ascii_lowercase) + letter = letter.rjust(letter_length, 'a') option_letters[letter] = option return option_letters diff --git a/voussoirkit/quickid.py b/voussoirkit/quickid.py index 1cf2e74..7ce2902 100644 --- a/voussoirkit/quickid.py +++ b/voussoirkit/quickid.py @@ -3,7 +3,6 @@ This module is designed to provide a GOOD ENOUGH means of identifying duplicate files very quickly, so that more in-depth checks can be done on likely matches. ''' import hashlib -import os import sys from voussoirkit import pathclass diff --git a/voussoirkit/spinal.py b/voussoirkit/spinal.py index f9c4b40..d428909 100644 --- a/voussoirkit/spinal.py +++ b/voussoirkit/spinal.py @@ -3,7 +3,6 @@ This module provides functions related to walking the filesystem and copying files and folders. ''' import hashlib -import logging import os import shutil import sys @@ -342,6 +341,7 @@ def copy_file( *, destination_new_root=None, bytes_per_second=None, + callback_hash_progress=None, callback_progress=None, callback_permission_denied=None, callback_pre_copy=None, diff --git a/voussoirkit/threadpool.py b/voussoirkit/threadpool.py index 3cafa44..2769ca5 100644 --- a/voussoirkit/threadpool.py +++ b/voussoirkit/threadpool.py @@ -29,7 +29,6 @@ of threadpool in use: >>> pool.add_many(kwargss) >>> pool.join() ''' -import collections import logging import queue import threading