1.1 --- a/imiptools/client.py Thu Oct 22 22:08:06 2015 +0200
1.2 +++ b/imiptools/client.py Thu Oct 22 23:28:40 2015 +0200
1.3 @@ -486,8 +486,7 @@
1.4 # present in the object.
1.5
1.6 added = set(uri_values(attendees)).difference([uri for uri, attr in existing_attendees])
1.7 -
1.8 - # NOTE: When countering, no removals will occur, but additions might.
1.9 + removed = uri_values(removed)
1.10
1.11 if added or removed:
1.12
1.13 @@ -502,7 +501,7 @@
1.14 # Only when an event has not been published can
1.15 # attendees be silently removed.
1.16
1.17 - if obj.is_shared():
1.18 + if self.obj.is_shared():
1.19 to_cancel.append((attendee, attendee_attr))
1.20 else:
1.21 remaining.append((attendee, attendee_attr))