Skip to content

Commit

Permalink
Flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
teward committed Apr 21, 2017
1 parent 8e0add7 commit 7d034fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions globalvars.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ class GlobalVars:
commit = git_commit_info()
if md5(commit['author'][0].encode('utf-8')).hexdigest() in censored_committer_names:
commit['author'] = censored_committer_names[md5(commit['author'][0].encode('utf-8')).hexdigest()]
commit_with_author = "%s (%s: *%s*)" % (commit['id'],

commit_with_author = "%s (%s: *%s*)" % (commit['id'],
commit['author'][0] if type(commit['author']) is list else commit['author'],
commit['message'])

Expand Down

0 comments on commit 7d034fa

Please sign in to comment.