From 02521de7b4aff7eb0c06b24ceadc11b28915bcc6 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 28 Jan 2014 02:16:56 +0100 Subject: [PATCH] Fixed forget step in group sync proccess --- mycoserver/group.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mycoserver/group.py b/mycoserver/group.py index bb43fc6..564faef 100644 --- a/mycoserver/group.py +++ b/mycoserver/group.py @@ -46,6 +46,9 @@ class GroupList(object): ret.groups[uuid]=self.groups[uuid].sync(groups.groups[uuid]) else: ret.groups[uuid]=groups.groups[uuid] + for uuid in self.groups: + if uuid not in ret.groups: + ret.groups[uuid]=self.groups[uuid] return ret