diff options
-rwxr-xr-x | contrib/gcc-changelog/git_commit.py | 1 |
1 files changed, 1 insertions, 0 deletions
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})')) |