Restore print_output syntax in git_commit.py.

* gcc-changelog/git_commit.py: Restore print_output syntax
	in git_commit.py.
This commit is contained in:
Martin Liska 2020-05-13 14:31:55 +02:00
parent c10aa1f073
commit b8333fc6f8
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785
2 changed files with 6 additions and 2 deletions

View 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> 2020-05-13 Martin Liska <mliska@suse.cz>
* gcc-changelog/git_check_commit.py: New file. * gcc-changelog/git_check_commit.py: New file.

View File

@ -526,9 +526,8 @@ class GitCommit:
def print_output(self): def print_output(self):
for entry, output in self.to_changelog_entries(): for entry, output in self.to_changelog_entries():
print('@@CL %s' % entry) print('------ %s/ChangeLog ------ ' % entry)
print(output) print(output)
print('@@CL')
def print_errors(self): def print_errors(self):
print('Errors:') print('Errors:')