diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-05-14 10:37:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-05-14 10:37:52 -0400 |
commit | bbfdee4c4e2ddebf3d7993ef41a268d91ad78268 (patch) | |
tree | 536825f242da4df94705346b585fda0b901e302e /scripts/maint | |
parent | 371d5ece5b3243538637ceef2d5e91b944d12420 (diff) | |
download | tor-bbfdee4c4e2ddebf3d7993ef41a268d91ad78268.tar.gz tor-bbfdee4c4e2ddebf3d7993ef41a268d91ad78268.zip |
Fix a python warning in format_changelog.py.
Diffstat (limited to 'scripts/maint')
-rwxr-xr-x | scripts/maint/format_changelog.py | 2 |
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) |