ignore errors when feeding repositories
This commit is contained in:
parent
fde8f61435
commit
f8bc58f3da
|
@ -38,7 +38,10 @@ class Command(BaseCommand):
|
|||
print module
|
||||
try:
|
||||
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('👾')
|
||||
try:
|
||||
sha, author_name, author_email, author_date, commit_date, subject = line.strip().split('👾')
|
||||
except ValueError:
|
||||
continue
|
||||
if not author_email:
|
||||
author_email = author_name + '@entrouvert.com'
|
||||
author_email = author_map.get(author_email, author_email)
|
||||
|
|
Reference in New Issue