Skip to content

Commit 7752add

Browse files
Merge pull request borgbackup#9297 from mr-raj12/fix/codespell-typos-1.4
fix typos found by codespell (1.4-maint)
2 parents 97c5709 + 22297f4 commit 7752add

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ These are your options to protect against that:
741741
How can I protect against theft, sabotage, lightning, fire, ...?
742742
----------------------------------------------------------------
743743

744-
In general: if your only backup medium is nearby the backupped machine and
744+
In general: if your only backup medium is nearby the backed-up machine and
745745
always connected, you can easily get into trouble: they likely share the same
746746
fate if something goes really wrong.
747747

@@ -794,7 +794,7 @@ Common issues
794794
There can be many causes of this error. E.g. you have incorrectly specified the repository path.
795795

796796
You will also get this error if you try to access a repository that uses the argon2 key algorithm using an old version of borg.
797-
We recommend upgrading to the latest stable version and trying again. We are sorry. We should have thought abount forward
797+
We recommend upgrading to the latest stable version and trying again. We are sorry. We should have thought about forward
798798
compatibility and implemented a more helpful error message.
799799

800800
Why am I seeing idle borg serve processes on the repo server?
@@ -1413,7 +1413,7 @@ There are some caveats:
14131413
Why is my backup bigger than with attic?
14141414
----------------------------------------
14151415

1416-
Attic was rather unflexible when it comes to compression, it always
1416+
Attic was rather inflexible when it comes to compression, it always
14171417
compressed using zlib level 6 (no way to switch compression off or
14181418
adjust the level or algorithm).
14191419

docs/internals/data-structures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ bucket is reached.
818818
This particular mode of operation is open addressing with linear probing.
819819

820820
When the hash table is filled to 75%, its size is grown. When it's
821-
emptied to 25%, its size is shrinked. Operations on it have a variable
821+
emptied to 25%, its size is shrunk. Operations on it have a variable
822822
complexity between constant and linear with low factor, and memory overhead
823823
varies between 33% and 300%.
824824

src/borg/archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ def verify_data(self):
17971797
# if we kill the defect chunk here, subsequent actions within this "borg check"
17981798
# run will find missing chunks and replace them with all-zero replacement
17991799
# chunks and flag the files as "repaired".
1800-
# if another backup is done later and the missing chunks get backupped again,
1800+
# if another backup is done later and the missing chunks get backed up again,
18011801
# a "borg check" afterwards can heal all files where this chunk was missing.
18021802
logger.warning('Found defect chunks. They will be deleted now, so affected files can '
18031803
'get repaired now and maybe healed later.')

src/borg/testsuite/xattr.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ def test_getxattr_buffer_growth(self):
7575
self.assert_equal(len(buffer), 128)
7676

7777

78-
@pytest.mark.parametrize('lstring, splitted', (
78+
@pytest.mark.parametrize('lstring, expected', (
7979
(b'', []),
8080
(b'\x00', [b'']),
8181
(b'\x01a', [b'a']),
8282
(b'\x01a\x02cd', [b'a', b'cd']),
8383
))
84-
def test_split_lstring(lstring, splitted):
85-
assert split_lstring(lstring) == splitted
84+
def test_split_lstring(lstring, expected):
85+
assert split_lstring(lstring) == expected

0 commit comments

Comments
 (0)