This commit is contained in:
Daniel Langbein 2023-03-19 20:34:57 +01:00
parent cbbb4231e8
commit 06ff4a516e
5 changed files with 5 additions and 5 deletions

View File

@ -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 =

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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