1.1 --- a/imiptools/handlers/common.py Tue Feb 09 15:57:23 2016 +0100
1.2 +++ b/imiptools/handlers/common.py Wed Mar 02 21:17:11 2016 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Common handler functionality for different entities.
1.6
1.7 -Copyright (C) 2014, 2015 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2014, 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -22,7 +22,7 @@
1.13 from imiptools.data import get_address, get_uri, make_freebusy, to_part, \
1.14 uri_dict
1.15 from imiptools.dates import format_datetime
1.16 -from imiptools.period import FreeBusyPeriod, Period, replace_overlapping
1.17 +from imiptools.period import FreeBusyPeriod, Period
1.18
1.19 class CommonFreebusy:
1.20
1.21 @@ -59,7 +59,7 @@
1.22
1.23 for sender, sender_attr in senders:
1.24 stored_freebusy = self.store.get_freebusy_for_other(self.user, sender)
1.25 - replace_overlapping(stored_freebusy, period, freebusy)
1.26 + stored_freebusy.replace_overlapping(period, freebusy)
1.27 self.store.set_freebusy_for_other(self.user, stored_freebusy, sender)
1.28
1.29 def request(self):