diff --git a/setup.cfg b/setup.cfg index d5a1f8b..39adc8e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,7 +11,7 @@ long_description = file: README.md long_description_content_type = text/markdown url = https://codeberg.org/privacy1st/subprocess_util project_urls = - Bug Tracker = https://codeberg.org/privacy1st/subprocess_util/issues + Bug Tracker = https://codeberg.org/privacy1st/subprocess-util/issues ; https://pypi.org/classifiers/ classifiers = diff --git a/src/subprocess_util/chunked_transfer/active_receive/exec_receive_chunks_active.py b/src/subprocess_util/chunked_transfer/active_receive/exec_receive_chunks_active.py index b82b1c5..bd1a4c7 100644 --- a/src/subprocess_util/chunked_transfer/active_receive/exec_receive_chunks_active.py +++ b/src/subprocess_util/chunked_transfer/active_receive/exec_receive_chunks_active.py @@ -87,6 +87,6 @@ def exec_receive_chunks_active( # If no errors occurred, delete the chunk directory. # But only if we created it ourselves! if returncode == 0 and created_chunk_dir: - target_chunk_dir.unlink(missing_ok=False) + target_chunk_dir.rmdir() return returncode diff --git a/src/subprocess_util/chunked_transfer/active_receive/exec_send_chunks_passive.py b/src/subprocess_util/chunked_transfer/active_receive/exec_send_chunks_passive.py index 610ee10..af49c3e 100644 --- a/src/subprocess_util/chunked_transfer/active_receive/exec_send_chunks_passive.py +++ b/src/subprocess_util/chunked_transfer/active_receive/exec_send_chunks_passive.py @@ -62,6 +62,6 @@ def exec_send_chunks_passive( # If no errors occurred, delete the chunk directory. # But only if we created it ourselves! if returncode == 0 and created_chunk_dir: - source_chunk_dir.unlink(missing_ok=False) + source_chunk_dir.rmdir() return returncode diff --git a/src/subprocess_util/chunked_transfer/active_send/exec_receive_chunks_passive.py b/src/subprocess_util/chunked_transfer/active_send/exec_receive_chunks_passive.py index 8ab39d7..ab101c3 100644 --- a/src/subprocess_util/chunked_transfer/active_send/exec_receive_chunks_passive.py +++ b/src/subprocess_util/chunked_transfer/active_send/exec_receive_chunks_passive.py @@ -55,6 +55,6 @@ def exec_receive_chunks_passive( # If no errors occurred, delete the chunk directory. # But only if we created it ourselves! if returncode == 0 and created_chunk_dir: - target_chunk_dir.unlink(missing_ok=False) + target_chunk_dir.rmdir() return returncode diff --git a/src/subprocess_util/chunked_transfer/active_send/exec_send_chunks_active.py b/src/subprocess_util/chunked_transfer/active_send/exec_send_chunks_active.py index 8f08c50..f9dae98 100644 --- a/src/subprocess_util/chunked_transfer/active_send/exec_send_chunks_active.py +++ b/src/subprocess_util/chunked_transfer/active_send/exec_send_chunks_active.py @@ -58,6 +58,6 @@ def exec_send_chunks_active( # If no errors occurred, delete the chunk directory. # But only if we created it ourselves! if returncode == 0 and created_chunk_dir: - source_chunk_dir.unlink(missing_ok=False) + source_chunk_dir.rmdir() return returncode