fix typos

This commit is contained in:
Thomas Waldmann 2015-07-15 11:14:53 +02:00
parent 8885fa0dca
commit cc88d174af
3 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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)
"""

View file

@ -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)