Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Nov 21, 2019
1 parent ab76fbe commit 80e6239
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/matyan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def get_logs(between: str = None, path: str = None) -> Dict[str, Any]:
])
text_log_tags = repository.log(*text_log_tags_args)
log_tags = text_log_tags.split("\n")
commit_tags = dict([s.split(' ', 1)[0].split('\t') for s in log_tags])
commit_tags_list = [s.split(' ', 1)[0].split('\t', 1) for s in log_tags]
commit_tags = dict([l for l in commit_tags_list if len(l) > 1])

return {
'TEXT_LOG_MERGES': text_log_merges,
Expand Down

0 comments on commit 80e6239

Please sign in to comment.