Added TODO
This commit is contained in:
parent
1111465061
commit
3a3dbb5042
@ -30,6 +30,9 @@ from . import Packer, transfer
|
|||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
# TODO(Sybren): compute MD5 sums of queued files in a separate thread, so that
|
||||||
|
# we can upload a file to S3 and compute an MD5 of another file simultaneously.
|
||||||
|
|
||||||
def compute_md5(filepath: pathlib.Path) -> str:
|
def compute_md5(filepath: pathlib.Path) -> str:
|
||||||
log.debug('Computing MD5sum of %s', filepath)
|
log.debug('Computing MD5sum of %s', filepath)
|
||||||
hasher = hashlib.md5()
|
hasher = hashlib.md5()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user