Verified Commit dacae3f0 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Revert "Add assertion for debugging an issue with no apparent cause"

This reverts commit 1a9e5bd0.
parent 1a9e5bd0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -71,11 +71,7 @@ def get_file_years(paths: list[Path], ignored_commits: set[str]) -> dict[Path, i
	output = dict[Path, int]()

	for result in proc.stdout.split(b'\0\0'):
		try:
		commits, files = result.splitlines()
		except ValueError:
			msg = f"bad value: {result!r} in {proc.stdout!r}"
			raise AssertionError(msg)
		combos = product(split_commits(commits), split_paths(files))
		for (commit_year, commit_hash), path in combos:
			if commit_hash in ignored_commits: