summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-05-14 10:37:52 -0400
committerNick Mathewson <nickm@torproject.org>2020-05-14 10:37:52 -0400
commitbbfdee4c4e2ddebf3d7993ef41a268d91ad78268 (patch)
tree536825f242da4df94705346b585fda0b901e302e /scripts
parent371d5ece5b3243538637ceef2d5e91b944d12420 (diff)
downloadtor-bbfdee4c4e2ddebf3d7993ef41a268d91ad78268.tar.gz
tor-bbfdee4c4e2ddebf3d7993ef41a268d91ad78268.zip
Fix a python warning in format_changelog.py.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maint/format_changelog.py2
1 files changed, 1 insertions, 1 deletions
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)