Skip to content
Snippets Groups Projects
Commit 4229f977 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

Fix typos spotted after codespell upgrade

parent 6aaf43cc
No related branches found
No related tags found
No related merge requests found
Pipeline #10585 passed
...@@ -142,7 +142,7 @@ class RlogConv: ...@@ -142,7 +142,7 @@ class RlogConv:
rtags[v_str].append(k_.decode()) rtags[v_str].append(k_.decode())
revs: List[Tuple[str, revtuple]] = list(revisions.items()) revs: List[Tuple[str, revtuple]] = list(revisions.items())
# sort by revision descending to priorize 1.1.1.1 than 1.1 # sort by revision descending to prioritize 1.1.1.1 than 1.1
revs.sort(key=lambda a: a[1][0], reverse=True) revs.sort(key=lambda a: a[1][0], reverse=True)
# sort by time # sort by time
revs.sort(key=lambda a: a[1][1]) revs.sort(key=lambda a: a[1][1])
......
...@@ -895,7 +895,7 @@ def test_loader_cvs_with_header_keyword(swh_storage, datadir, tmp_path): ...@@ -895,7 +895,7 @@ def test_loader_cvs_with_header_keyword(swh_storage, datadir, tmp_path):
assert loader2.load() == {"status": "eventful"} assert loader2.load() == {"status": "eventful"}
# We cannot verify the snapshot ID. It is unpredicable due to use of the $Header$ # We cannot verify the snapshot ID. It is unpredictable due to use of the $Header$
# RCS keyword which contains the temporary directory where the repository is stored. # RCS keyword which contains the temporary directory where the repository is stored.
expected_stats = { expected_stats = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment