mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-04 06:21:46 +00:00
fix typo
This commit is contained in:
parent
4a7a5b2253
commit
6ae23bc0d7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue