From bbfdee4c4e2ddebf3d7993ef41a268d91ad78268 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 14 May 2020 10:37:52 -0400 Subject: [PATCH] Fix a python warning in format_changelog.py. --- scripts/maint/format_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/maint/format_changelog.py b/scripts/maint/format_changelog.py index 7cf55a0d96..b37ece04c0 100755 --- a/scripts/maint/format_changelog.py +++ b/scripts/maint/format_changelog.py @@ -291,7 +291,7 @@ class ChangeLog(object): self.curgraf.append(line) else: - assert "This" is "unreachable" # noqa: F632 + assert False # This should be unreachable. def lint_head(self, line, head): m = re.match(r'^ *o ([^\(]+)((?:\([^\)]+\))?):', head)