# HG changeset patch # User Paul Boddie # Date 1422462160 -3600 # Node ID 939c30b8e222262d285c0f4048fac1fe387f7a2e # Parent b4e941d0b54795ffe9da991cf1ed5a53f77de774 Make participant group types distinct so that id attributes remain so. diff -r b4e941d0b547 -r 939c30b8e222 imip_manager.py --- a/imip_manager.py Wed Jan 28 17:19:34 2015 +0100 +++ b/imip_manager.py Wed Jan 28 17:22:40 2015 +0100 @@ -577,9 +577,9 @@ period_group_types = ["request", "freebusy"] period_group_sources = ["Pending requests", "Your schedule"] - for participant in participants: + for i, participant in enumerate(participants): period_groups.append(self.store.get_freebusy_for_other(self.user, get_uri(participant))) - period_group_types.append("freebusy") + period_group_types.append("freebusy-part%d" % i) period_group_sources.append(participant) groups = []