From 3208a74f906c116e93074c6ed0559df1cbfe58d1 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 28 Jan 2020 01:38:54 +0100 Subject: Use print() function in both Python 2 and Python 3 --- scripts/maint/format_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/maint/format_changelog.py') 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) -- cgit v1.2.3-54-g00ecf