1.1 --- a/imiptools/handlers/person_outgoing.py Tue Feb 10 17:47:41 2015 +0100
1.2 +++ b/imiptools/handlers/person_outgoing.py Tue Feb 10 19:01:12 2015 +0100
1.3 @@ -103,6 +103,8 @@
1.4 identity, attr = item
1.5
1.6 # Only cancel the event completely if all attendees are given.
1.7 + # NOTE: Need to also check for recurrence identifiers and selective
1.8 + # NOTE: cancellations.
1.9
1.10 obj = self.get_object(identity)
1.11
1.12 @@ -117,7 +119,8 @@
1.13
1.14 else:
1.15 for attendee in given_attendees:
1.16 - del attendees[attendee]
1.17 + if attendees.has_key(attendee):
1.18 + del attendees[attendee]
1.19 obj["ATTENDEE"] = attendees.items()
1.20
1.21 # Update the stored object with sequence information.