1.1 --- a/imiptools/content.py Mon Feb 09 22:18:38 2015 +0100
1.2 +++ b/imiptools/content.py Mon Feb 09 23:22:31 2015 +0100
1.3 @@ -176,7 +176,7 @@
1.4 update_freebusy(freebusy, attendee, periods, self.obj.get_value("TRANSP"),
1.5 self.uid, self.store)
1.6
1.7 - def update_freebusy_from_participant(self, user, participant_item, tzid):
1.8 + def update_freebusy_from_participant(self, user, participant_item):
1.9
1.10 """
1.11 For the given 'user', record the free/busy information for the
1.12 @@ -191,27 +191,27 @@
1.13
1.14 if participant_attr.get("PARTSTAT") != "DECLINED":
1.15 update_freebusy_for_other(freebusy, user, participant,
1.16 - self.obj.get_periods_for_freebusy(tzid),
1.17 + self.obj.get_periods_for_freebusy(tzid=None),
1.18 self.obj.get_value("TRANSP"),
1.19 self.uid, self.store)
1.20 else:
1.21 self.remove_from_freebusy_for_other(freebusy, user, participant)
1.22
1.23 - def update_freebusy_from_organiser(self, attendee, organiser_item, tzid=None):
1.24 + def update_freebusy_from_organiser(self, attendee, organiser_item):
1.25
1.26 """
1.27 For the 'attendee', record free/busy information from the
1.28 'organiser_item' (a value plus attributes).
1.29 """
1.30
1.31 - self.update_freebusy_from_participant(attendee, organiser_item, tzid)
1.32 + self.update_freebusy_from_participant(attendee, organiser_item)
1.33
1.34 - def update_freebusy_from_attendees(self, organiser, attendees, tzid=None):
1.35 + def update_freebusy_from_attendees(self, organiser, attendees):
1.36
1.37 "For the 'organiser', record free/busy information from 'attendees'."
1.38
1.39 for attendee_item in attendees.items():
1.40 - self.update_freebusy_from_participant(organiser, attendee_item, tzid)
1.41 + self.update_freebusy_from_participant(organiser, attendee_item)
1.42
1.43 def can_schedule(self, freebusy, periods):
1.44 return can_schedule(freebusy, periods, self.uid)