aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-05-13 14:31:55 +0200
committerMartin Liska <mliska@suse.cz>2020-05-13 14:31:55 +0200
commitb8333fc6f87655c3c1b9c93129b88d239b2fcaf9 (patch)
treea6d41391292e2c7167fbcfd07b0e890fe42e0259
parentc10aa1f07366732b22a8dc1cb0c63914e91b0434 (diff)
downloadgcc-b8333fc6f87655c3c1b9c93129b88d239b2fcaf9.zip
gcc-b8333fc6f87655c3c1b9c93129b88d239b2fcaf9.tar.gz
gcc-b8333fc6f87655c3c1b9c93129b88d239b2fcaf9.tar.bz2
Restore print_output syntax in git_commit.py.
* gcc-changelog/git_commit.py: Restore print_output syntax in git_commit.py.
-rw-r--r--contrib/ChangeLog5
-rwxr-xr-xcontrib/gcc-changelog/git_commit.py3
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index ae5823b..b07003f 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,5 +1,10 @@
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.
* gcc-changelog/git_commit.py: New file.
* gcc-changelog/git_email.py: New file.
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index a434f94..5214cc3 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -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:')