X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/21a2199a2b91086d6cfefb93975566598db4149f..141d730603d718a49a82bef3e3540450cb09b691:/contrib/julian/feedgenerator.py diff --git a/contrib/julian/feedgenerator.py b/contrib/julian/feedgenerator.py index 23efdca..819a273 100644 --- a/contrib/julian/feedgenerator.py +++ b/contrib/julian/feedgenerator.py @@ -41,13 +41,6 @@ ITEM_ICAL_MAP = { class ICalendarFeed(SyndicationFeed): - #def __init__(self, title, link, description, language=None, author_email=None, - # author_name=None, author_link=None, subtitle=None, categories=None, - # feed_url=None, feed_copyright=None, feed_guid=None, ttl=None, **kwargs): - # super(ICalendarFeed, self).__init__(title, link, description, language, - # author_email, author_name, author_link, subtitle, categories, - # feed_url, feed_copyright, feed_guid, ttl, **kwargs) - # mime_type = 'text/calendar' def add_item(self, *args, **kwargs): @@ -81,4 +74,4 @@ class ICalendarFeed(SyndicationFeed): if isinstance(outfile, HttpResponse): filename = self.feed.get('filename', 'filename.ics') outfile['Filename'] = filename - response['Content-Disposition'] = 'attachment; filename=%s' % filename \ No newline at end of file + outfile['Content-Disposition'] = 'attachment; filename=%s' % filename \ No newline at end of file