Rename confusing variable

This commit is contained in:
RabsRincon
2018-03-25 21:37:14 +02:00
parent 0fd86262e5
commit 2b6ed8a82a
+3 -3
View File
@@ -26,8 +26,8 @@ import subprocess
def format_commit(url, commit):
splitted_commit = commit.split(' * ')
print(splitted_commit)
grouped_commit = commit.split(' * ')
print(grouped_commit)
return '<div class="row commits-list">\n' \
' <div class="col-sm-3">\n' \
' <a href="{}commit/{}" rel="noreferrer noopener" target="_blank">{}\n' \
@@ -38,7 +38,7 @@ def format_commit(url, commit):
' <div class="col-sm-9">\n' \
' <p>{}</p>\n' \
' </div>\n' \
'</div>\n'.format(url, splitted_commit[0], splitted_commit[0], splitted_commit[1])
'</div>\n'.format(url, grouped_commit[0], grouped_commit[0], grouped_commit[1])
def get_commits(repo):