Fix a python warning in format_changelog.py.

This commit is contained in:
Nick Mathewson 2020-05-14 10:37:52 -04:00
parent 371d5ece5b
commit bbfdee4c4e

View File

@ -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)