Merge pull request #7613 from ThomasWaldmann/1.2-clear-empty-dirs-typo

fix typo
This commit is contained in:
TW 2023-05-29 15:22:15 +02:00 committed by GitHub
commit 742d0df294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1508,7 +1508,7 @@ class LoggedIO:
os.rmdir(segment_dir)
except OSError:
# 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
sync_dir(data_dir)