mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-08 16:23:42 -04:00
fix typos
This commit is contained in:
parent
8885fa0dca
commit
cc88d174af
3 changed files with 3 additions and 3 deletions
|
|
@ -203,7 +203,7 @@ class RemoteRepository:
|
|||
break
|
||||
r, w, x = select.select(self.r_fds, w_fds, self.x_fds, 1)
|
||||
if x:
|
||||
raise Exception('FD exception occured')
|
||||
raise Exception('FD exception occurred')
|
||||
if r:
|
||||
data = os.read(self.stdout_fd, BUFSIZE)
|
||||
if not data:
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ class Repository:
|
|||
self.segments.setdefault(segment, 0)
|
||||
|
||||
def preload(self, ids):
|
||||
"""Preload objects (only applies to remote repositories
|
||||
"""Preload objects (only applies to remote repositories)
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ class ArchiverTestCaseBase(BaseTestCase):
|
|||
os.mkdir(self.keys_path)
|
||||
os.mkdir(self.cache_path)
|
||||
with open(self.exclude_file_path, 'wb') as fd:
|
||||
fd.write(b'input/file2\n# A commment line, then a blank line\n\n')
|
||||
fd.write(b'input/file2\n# A comment line, then a blank line\n\n')
|
||||
self._old_wd = os.getcwd()
|
||||
os.chdir(self.tmpdir)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue