diff --git a/eodb/events/management/commands/feed_repositories.py b/eodb/events/management/commands/feed_repositories.py index c289c83..40bdbe2 100644 --- a/eodb/events/management/commands/feed_repositories.py +++ b/eodb/events/management/commands/feed_repositories.py @@ -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)