Changeset 2753
- Timestamp:
- 02/23/06 15:44:28 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r2752 r2753 1034 1034 def delUserFromGroup(self, user, group) : 1035 1035 """Removes an user from a group.""" 1036 if user.Name notin [u.Name for u in self.getGroupMembers(group)] :1036 if user.Name in [u.Name for u in self.getGroupMembers(group)] : 1037 1037 result = self.doSearch("objectClass=pykotaGroup", None, base=group.ident, scope=ldap.SCOPE_BASE) 1038 1038 if result :