[tor/master] Fix a python warning in format_changelog.py.

commit bbfdee4c4e2ddebf3d7993ef41a268d91ad78268 Author: Nick Mathewson <nickm@torproject.org> Date: Thu May 14 10:37:52 2020 -0400 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 7cf55a0d9..b37ece04c 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)
participants (1)
-
nickm@torproject.org