Changeset 1320
- Timestamp:
- 01/29/04 23:35:45 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1274 r1320 22 22 # 23 23 # $Log$ 24 # Revision 1.49 2004/01/29 22:35:45 jalet 25 # Small fix from Matt. 26 # 24 27 # Revision 1.48 2004/01/12 14:35:02 jalet 25 28 # Printing history added to CGI script. … … 264 267 base = base or self.basedn 265 268 self.tool.logdebug("QUERY : Filter : %s, BaseDN : %s, Scope : %s, Attributes : %s" % (key, base, scope, fields)) 266 result = self.database.search_s(base or self.basedn, scope, key, fields)269 result = self.database.search_s(base, scope, key, fields) 267 270 except ldap.LDAPError, msg : 268 271 raise PyKotaStorageError, (_("Search for %s(%s) from %s(scope=%s) returned no answer.") % (key, fields, base, scope)) + " : %s" % str(msg)