Logo Search packages:      
Sourcecode: radicale version File versions  Download package

def radicale::ical::Calendar::remove (   self,
  name 
)
Remove object named ``name`` from calendar.

Definition at line 196 of file ical.py.

                          :
        """Remove object named ``name`` from calendar."""
        todos = [todo for todo in self.todos if todo.name != name]
        events = [event for event in self.events if event.name != name]

        items = self.timezones + todos + events
        self.write(items=items)


Generated by  Doxygen 1.6.0   Back to index