#NEWLINE# def __call__( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# obj = self . get_object ( args , * args , ** kwargs ) #NEWLINE# #UNINDENT# except ObjectDoesNotExist : #NEWLINE# #INDENT# raise Http404 ( 'Feed object does not exist.' ) #NEWLINE# #UNINDENT# feedgen = self . get_feed ( obj , request ) #NEWLINE# response = HttpResponse ( mimetype = feedgen . mime_type ) #NEWLINE# feedgen . write ( response , 'utf-8' ) #NEWLINE# return response