aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/format_changelog.py
diff options
context:
space:
mode:
authorcclauss <cclauss@me.com>2020-01-28 01:38:54 +0100
committercclauss <cclauss@me.com>2020-01-28 01:38:54 +0100
commit3208a74f906c116e93074c6ed0559df1cbfe58d1 (patch)
treec43d03841d5c29d4a8fc29793ef71eebc065d989 /scripts/maint/format_changelog.py
parentaba31e2187808257b250bf469895330f273d7746 (diff)
downloadtor-3208a74f906c116e93074c6ed0559df1cbfe58d1.tar.gz
tor-3208a74f906c116e93074c6ed0559df1cbfe58d1.zip
Use print() function in both Python 2 and Python 3
Diffstat (limited to 'scripts/maint/format_changelog.py')
-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 5f04a44ef6..32085c3602 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"
+ assert "This" is "unreachable" # noqa: F632
def lint_head(self, line, head):
m = re.match(r'^ *o ([^\(]+)((?:\([^\)]+\))?):', head)