Simplify getting identity

This commit is contained in:
Benjamin Bohard 2020-09-07 18:30:56 +02:00
parent 3c860a893b
commit d509550f69
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ def git_integration(func):
master_add_paths = [fp for fp in repo_status master_add_paths = [fp for fp in repo_status
if (fp.startswith('content/') or fp.startswith('slides/')) and repo_status[fp] in to_add_status] if (fp.startswith('content/') or fp.startswith('slides/')) and repo_status[fp] in to_add_status]
author = pygit2.Signature(repo.config['user.name'], repo.config['user.email']) author = repo.default_signature
committer = author committer = author
index = repo.index index = repo.index