1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-04 06:21:46 +00:00
This commit is contained in:
Thomas Waldmann 2023-05-29 14:56:47 +02:00
parent 4a7a5b2253
commit 6ae23bc0d7
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -1566,7 +1566,7 @@ def clear_empty_dirs(self):
os.rmdir(segment_dir) os.rmdir(segment_dir)
except OSError: except OSError:
# OSError is raised by os.rmdir if directory is not empty. This is expected. # OSError is raised by os.rmdir if directory is not empty. This is expected.
# It's subclass FileNotFoundError may be raised if the directory already does not exist. Ignorable. # Its subclass FileNotFoundError may be raised if the directory already does not exist. Ignorable.
pass pass
sync_dir(data_dir) sync_dir(data_dir)