OwlCyberSecurity - MANAGER
Edit File: hiddeninstance.pyc
� �t�ac @ sC d d l m Z d d l m Z d g Z d e f d � � YZ d S( i����( t CalendarFilter( t Componentt HiddenInstanceFilterc B s e Z d Z d � Z d � Z RS( s� Filter overridden components in an event marked by a specific property to remove the component and add a matching EXDATE. c C s� | j � } x� t | j d t � � D]n } | j � } | d k rI q% n | j t j � r% | j � } | j | � | d k r� | j | � q� q% q% W| S( s� Filter the supplied iCalendar object using the request information. @param ical: iCalendar object @type ical: L{Component} or C{str} @return: L{Component} for the filtered calendar data t ignoreN( t masterComponentt tuplet subcomponentst Truet getRecurrenceIDUTCt Nonet hasPropertyR t HIDDEN_INSTANCE_PROPERTYt removeComponentt addExdate( t selft icalt mastert componentt rid( ( s; /opt/cpanel-ccs/twistedcaldav/datafilters/hiddeninstance.pyt filter s c C s t � d S( s7 Private event merging does not happen N( t NotImplementedError( R t icalnewt icalold( ( s; /opt/cpanel-ccs/twistedcaldav/datafilters/hiddeninstance.pyt merge8 s ( t __name__t __module__t __doc__R R ( ( ( s; /opt/cpanel-ccs/twistedcaldav/datafilters/hiddeninstance.pyR s N( t twistedcaldav.datafilters.filterR t twistedcaldav.icalR t __all__R ( ( ( s; /opt/cpanel-ccs/twistedcaldav/datafilters/hiddeninstance.pyt <module> s