Changeset 2106 for pykota/trunk
- Timestamp:
- 02/25/05 15:31:07 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r2057 r2106 22 22 # 23 23 # $Log$ 24 # Revision 1.102 2005/02/25 14:31:07 jalet 25 # Improved robustness 26 # 24 27 # Revision 1.101 2005/02/13 22:48:37 jalet 25 28 # Added the md5sum to the history … … 635 638 result = self.doSearch(ldapfilter, ["pykotaUserName"], base=self.info["userbase"]) 636 639 if result : 637 usernames = [record[1]["pykotaUserName"][0] for record in result]640 usernames = filter(None, [record[1].get("pykotaUserName", [None])[0] for record in result]) 638 641 return usernames 639 642