diff --git a/galaxy/api/serializers/repository.py b/galaxy/api/serializers/repository.py index 1539f8d19..776f14819 100644 --- a/galaxy/api/serializers/repository.py +++ b/galaxy/api/serializers/repository.py @@ -120,8 +120,8 @@ def get_summary_fields(self, instance): latest_import['created'] = import_tasks[0].created latest_import['modified'] = import_tasks[0].modified - content_objects = [{'id': c.id, 'name': c.name, 'content_type': c.content_type.name} - for c in instance.content_objects.all()] + content_objects = [{'id': c.id, 'name': c.name, 'content_type': c.content_type.name, + 'description': c.description} for c in instance.content_objects.all()] content_counts = {c['content_type__name']: c['count'] for c in instance.content_counts} diff --git a/galaxy/api/views/provider_source.py b/galaxy/api/views/provider_source.py index 2d2f01cdb..2a89c71aa 100644 --- a/galaxy/api/views/provider_source.py +++ b/galaxy/api/views/provider_source.py @@ -54,7 +54,6 @@ def get(self, request, *args, **kwargs): 'id': provider.pk, 'name': provider.name.lower() } - print(source['name']) try: provider_namespace = ProviderNamespace.objects.get(provider=provider, name__iexact=source['name'])