commit bbfdee4c4e2ddebf3d7993ef41a268d91ad78268
parent 371d5ece5b3243538637ceef2d5e91b944d12420
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 14 May 2020 10:37:52 -0400
Fix a python warning in format_changelog.py.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)