Fix issue 5371 broken collection atom feeds
authorayleph <ayleph@thisshitistemp.com>
Mon, 7 Dec 2015 16:38:21 +0000 (11:38 -0500)
committerJessica Tallon <tsyesika@tsyesika.se>
Wed, 6 Jan 2016 16:04:42 +0000 (16:04 +0000)
Signed-off-by: Jessica Tallon <tsyesika@tsyesika.se>
mediagoblin/user_pages/views.py

index ba94ec1626ee57e2e2ed2efad4c536d63610240c..88e077d480cf6a65ae7ad6f12bb1795723323f46 100644 (file)
@@ -623,10 +623,10 @@ def collection_atom_feed(request):
             id=obj.url_for_self(request.urlgen, qualified=True),
             content_type='html',
             author={
-                'name': obj.get_actor().username,
+                'name': obj.get_actor.username,
                 'uri': request.urlgen(
                     'mediagoblin.user_pages.user_home',
-                    qualified=True, user=obj.get_actor().username)},
+                    qualified=True, user=obj.get_actor.username)},
             updated=item.get('added'),
             links=[{
                 'href': obj.url_for_self(