mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Fix a python warning in format_changelog.py.
This commit is contained in:
parent
371d5ece5b
commit
bbfdee4c4e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user