# HG changeset patch # User Paul Boddie # Date 1445603850 -7200 # Node ID a17dcb642933ece66421dea007a5288fa442bca8 # Parent 6b6853ba8757210c8b149eb17e5aff2e105c3097 Fixed missing import and inappropriate attendees arguments. diff -r 6b6853ba8757 -r a17dcb642933 imiptools/handlers/person.py --- a/imiptools/handlers/person.py Fri Oct 23 00:48:58 2015 +0200 +++ b/imiptools/handlers/person.py Fri Oct 23 14:37:30 2015 +0200 @@ -19,7 +19,7 @@ this program. If not, see . """ -from imiptools.data import get_address +from imiptools.data import get_address, uri_dict from imiptools.handlers import Handler from imiptools.handlers.common import CommonFreebusy, CommonEvent from imiptools.period import FreeBusyPeriod, Period, replace_overlapping @@ -117,7 +117,7 @@ self.store.dequeue_request(self.user, self.uid, self.recurrenceid) self.store.remove_counters(self.user, self.uid, self.recurrenceid) self.remove_event_from_freebusy() - self.remove_freebusy_from_attendees(uri_values(self.obj.get_values("ATTENDEE"))) + self.remove_freebusy_from_attendees(uri_dict(self.obj.get_value_map("ATTENDEE"))) return True return self._record(from_organiser=True, queue=False, cancel=True) diff -r 6b6853ba8757 -r a17dcb642933 imiptools/handlers/person_outgoing.py --- a/imiptools/handlers/person_outgoing.py Fri Oct 23 00:48:58 2015 +0200 +++ b/imiptools/handlers/person_outgoing.py Fri Oct 23 14:37:30 2015 +0200 @@ -197,7 +197,7 @@ if cancel_entire_event or self.user in given_attendees: self.remove_event_from_freebusy() - self.remove_freebusy_from_attendees(given_attendees) + self.remove_freebusy_from_attendees(attendees) # Set the complete event if not an additional occurrence. For any newly- # indicated occurrence, use the received event details.