def fetch_github(self, request, queryset):
        fetched = []
        for commit in queryset:
            if commit.fetch_github():
                fetched.append(commit.sha)
        self.message_user(request, 'Successfully fetched %s' % (', '.join(fetched)))
dataset/ETHPy150Open frozenskys/django-github/github/admin.py/CommitAdmin.fetch_github/original