VirtualMailManager/common.py
changeset 586 cd1200d06700
parent 583 a479c38931c4
child 601 463b10c258d9
--- a/VirtualMailManager/common.py	Tue Aug 07 23:55:41 2012 +0000
+++ b/VirtualMailManager/common.py	Wed Aug 08 14:37:29 2012 +0000
@@ -251,7 +251,7 @@
     gids = []
     daddrs = {}
     for gid, address, addrtype, aliasdomain in result:
-        if gid not in gids:
+        if gid not in daddrs:
             gids.append(gid)
             daddrs[gid] = []
         daddrs[gid].append((address, addrtype, aliasdomain))