use unused character as separator
This commit is contained in:
parent
2aaaadcfd8
commit
977609be61
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import time
|
||||
|
@ -34,8 +36,8 @@ class Command(BaseCommand):
|
|||
module = os.path.basename(repository).replace('.git', '')
|
||||
print module
|
||||
try:
|
||||
for line in subprocess.check_output(['git', 'log', '--format=format:%H|%an|%ae|%aI|%cI']).splitlines():
|
||||
sha, author_name, author_email, author_date, commit_date = line.strip().split('|')
|
||||
for line in subprocess.check_output(['git', 'log', '--format=format:%H👾%an👾%ae👾%aI👾%cI👾%s']).splitlines():
|
||||
sha, author_name, author_email, author_date, commit_date, subject = line.strip().split('👾')
|
||||
if not author_email:
|
||||
author_email = author_name + '@entrouvert.com'
|
||||
author_email = author_map.get(author_email, author_email)
|
||||
|
|
Reference in New Issue