Inspired by Andreas Barth: Adjusted type after accidential conversion
[mirror/userdir-ldap.git] / ud-generate
index 3dfbc09..6be531d 100755 (executable)
@@ -589,6 +589,8 @@ while(1):
          GroupList[str(GroupIDMap[I])] = None;
 
    Allowed = GroupList;
+   if Allowed == {}:
+     Allowed = None
    CurrentHost = Split[0];
 
    sys.stdout.flush();