Changeset 1320

Show
Ignore:
Timestamp:
01/29/04 23:35:45 (21 years ago)
Author:
jalet
Message:

Small fix from Matt.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r1274 r1320  
    2222# 
    2323# $Log$ 
     24# Revision 1.49  2004/01/29 22:35:45  jalet 
     25# Small fix from Matt. 
     26# 
    2427# Revision 1.48  2004/01/12 14:35:02  jalet 
    2528# Printing history added to CGI script. 
     
    264267            base = base or self.basedn 
    265268            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) 
    267270        except ldap.LDAPError, msg :     
    268271            raise PyKotaStorageError, (_("Search for %s(%s) from %s(scope=%s) returned no answer.") % (key, fields, base, scope)) + " : %s" % str(msg)