Restore print_output syntax in git_commit.py.
authorMartin Liska <mliska@suse.cz>
Wed, 13 May 2020 12:31:55 +0000 (14:31 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 13 May 2020 12:31:55 +0000 (14:31 +0200)
* gcc-changelog/git_commit.py: Restore print_output syntax
in git_commit.py.

contrib/ChangeLog
contrib/gcc-changelog/git_commit.py

index ae5823ba2d914ce6c6783030a865468c9bbe08d6..b07003f2d1b9547c8c716979613991bcd249798a 100644 (file)
@@ -1,3 +1,8 @@
+2020-05-13  Martin Liska  <mliska@suse.cz>
+
+       * gcc-changelog/git_commit.py: Restore print_output syntax
+       in git_commit.py.
+
 2020-05-13  Martin Liska  <mliska@suse.cz>
 
        * gcc-changelog/git_check_commit.py: New file.
index a434f949ee69d3d030f5eca037a1a76226adfdf5..5214cc365382c139e5219e03f8c8d19b868ad239 100755 (executable)
@@ -526,9 +526,8 @@ class GitCommit:
 
     def print_output(self):
         for entry, output in self.to_changelog_entries():
-            print('@@CL %s' % entry)
+            print('------ %s/ChangeLog ------ ' % entry)
             print(output)
-        print('@@CL')
 
     def print_errors(self):
         print('Errors:')