From a37d7d6fc1dbd9906bbb2c6bf5ba9d30fd17a584 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 15 Sep 2021 16:38:41 +0200 Subject: [PATCH] gcc-changelog: Add FIXME note. contrib/ChangeLog: * gcc-changelog/git_commit.py: Add FIXME note. --- contrib/gcc-changelog/git_commit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 0373614..f26dc3b 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -811,5 +811,6 @@ class GitCommit: email = self.info.author.split(' ')[-1].strip('<>') # Verify that all characters are ASCII + # TODO: Python 3.7 provides a nicer function: isascii if len(email) != len(email.encode()): self.errors.append(Error(f'non-ASCII characters in git commit email address ({email})')) -- 2.7.4