Skip to content

Commit

Permalink
Ensure spacing between author name and email
Browse files Browse the repository at this point in the history
  • Loading branch information
rdipardo committed Jul 28, 2023
1 parent 6d28748 commit 40664b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rplugin/python3/cpywrite/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _apply_format(text, pattern, author, email, year):
'Copyright (c) ' \
if not cpu_readable \
else 'SPDX-FileCopyrightText: '
copying += year + ' ' + author + ' ' + contact
copying += year + ' ' + author + contact
copyrightable = \
no_anon or cpu_readable or \
not in_pub_domain(self.rights.spdx_code)
Expand Down Expand Up @@ -318,7 +318,7 @@ def _get_source_author():

if bool(git_username):
author = git_username
email = '<' + email + '>' if email else ''
email = ' <' + email + '>' if email else ''

return (author, email)

Expand Down

0 comments on commit 40664b0

Please sign in to comment.