# HG changeset patch # User Paul Boddie # Date 1390870019 -3600 # Node ID cb4614a10b27b5d3dabad99ad2a8dd4b13ca2f94 # Parent 05692c2b07c559dbc96ead2cefb3957c1df9dcbd The vCalendar module is otherwise required, but any testing for it would now be done in the Types module, anyway. diff -r 05692c2b07c5 -r cb4614a10b27 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: