mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-10 06:03:38 +00:00
fix typo
This commit is contained in:
parent
0bfbd8d8fc
commit
e711df20e2
1 changed files with 1 additions and 1 deletions
|
@ -1508,7 +1508,7 @@ class LoggedIO:
|
||||||
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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue