From: Nick Mathewson Date: Thu, 14 May 2020 14:37:52 +0000 (-0400) Subject: Fix a python warning in format_changelog.py. X-Git-Tag: tor-0.4.5.0-alpha-dev~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbfdee4c4e2ddebf3d7993ef41a268d91ad78268;p=thirdparty%2Ftor.git Fix a python warning in format_changelog.py. --- 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)