# HG changeset patch # User Paul Boddie # Date 1390870019 -3600 # Node ID 962bbb34eebb258f7253cbf959426f6634d9cf49 # Parent 95c021fe98bbc004e58c7a785a69654a9db5b567 The vCalendar module is otherwise required, but any testing for it would now be done in the Types module, anyway. diff -r 95c021fe98bb -r 962bbb34eebb EventAggregatorSupport/Resources.py --- a/EventAggregatorSupport/Resources.py Tue Jan 28 01:44:23 2014 +0100 +++ b/EventAggregatorSupport/Resources.py Tue Jan 28 01:46:59 2014 +0100 @@ -20,11 +20,6 @@ except ImportError: from StringIO import StringIO -try: - import vCalendar -except ImportError: - vCalendar = None - # Obtaining event containers and events from such containers. def getEventPages(pages): @@ -112,7 +107,7 @@ # NOTE: This could be done reactively by choosing a parser based on # NOTE: the content type provided by the URL. - if format == "ical" and vCalendar is not None: + if format == "ical": parser = parseEventsInCalendarFromResource required_content_type = expected_content_type or "text/calendar" else: