+

Fixed forget step in group sync proccess

Benjamin Renard [2014-01-28 01:16:56]
Fixed forget step in group sync proccess
Filename
mycoserver/group.py
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

ViewGit