# HG changeset patch # User Paul Boddie # Date 1423591272 -3600 # Node ID 191c6eda1a2df6c7c4b2b7631af072ea6e47ee9e # Parent ebcdf3f755c4729a743bbdf5429d2aae809f497a Handle uninvited attendees not found in the stored object. diff -r ebcdf3f755c4 -r 191c6eda1a2d imiptools/handlers/person_outgoing.py --- a/imiptools/handlers/person_outgoing.py Tue Feb 10 17:47:41 2015 +0100 +++ b/imiptools/handlers/person_outgoing.py Tue Feb 10 19:01:12 2015 +0100 @@ -103,6 +103,8 @@ identity, attr = item # Only cancel the event completely if all attendees are given. + # NOTE: Need to also check for recurrence identifiers and selective + # NOTE: cancellations. obj = self.get_object(identity) @@ -117,7 +119,8 @@ else: for attendee in given_attendees: - del attendees[attendee] + if attendees.has_key(attendee): + del attendees[attendee] obj["ATTENDEE"] = attendees.items() # Update the stored object with sequence information.