commit 441d9306478dfc5a0d90212848a63aac048905ec from: Stefan Sperling date: Wed Sep 25 10:48:29 2024 UTC fix list vs. set type confusion commit - 819d2b0944386c534090ca35c59b82948689b165 commit + 441d9306478dfc5a0d90212848a63aac048905ec blob - dff0c8e1274c3475821d9c123b5bf148b826d11c blob + 7bb79a50f90df082662a6d5efd79c96ed93a9101 --- swh/loader/git/loader.py +++ swh/loader/git/loader.py @@ -790,7 +790,7 @@ class GitLoader(BaseGitLoader): if len(archived_missing_objects) != len(missing_objects): raise NotFound( "Referenced objects found in neither the fetched pack file " - f"nor in the archive: {missing_objects - archived_missing_objects}" + f"nor in the archive: {set(missing_objects) - archived_missing_objects}" ) def add_vertices(new_vertices, object_type):