gcc-changelog: Add FIXME note.
authorMartin Liska <mliska@suse.cz>
Wed, 15 Sep 2021 14:38:41 +0000 (16:38 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 15 Sep 2021 14:38:41 +0000 (16:38 +0200)
contrib/ChangeLog:

* gcc-changelog/git_commit.py: Add FIXME note.

contrib/gcc-changelog/git_commit.py

index 0373614..f26dc3b 100755 (executable)
@@ -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})'))