Skip to content

Commit

Permalink
Real fix for attrlist=None regression introduced in 2.4.23 by ref cou…
Browse files Browse the repository at this point in the history
…nt patch
  • Loading branch information
stroeder committed Jan 18, 2016
1 parent 1d4bdc5 commit 6bc4977
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Released 2.4.24 2016-01-18
Changes since 2.4.23:

Lib/
* Work-around for attrlist=None regression introduced in 2.4.23
* Fix for attrlist=None regression introduced in 2.4.23
by ref count patch

----------------------------------------------------------------
Expand Down Expand Up @@ -1234,4 +1234,4 @@ Released 2.0.0pre02 2002-02-01
----------------------------------------------------------------
Released 1.10alpha3 2000-09-19

$Id: CHANGES,v 1.368 2016/01/17 20:31:54 stroeder Exp $
$Id: CHANGES,v 1.369 2016/01/18 10:38:26 stroeder Exp $
4 changes: 2 additions & 2 deletions Lib/ldap/ldapobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
See http://www.python-ldap.org/ for details.
\$Id: ldapobject.py,v 1.150 2016/01/17 20:31:54 stroeder Exp $
\$Id: ldapobject.py,v 1.151 2016/01/18 10:38:26 stroeder Exp $
Compability:
- Tested with Python 2.0+ but should work with Python 1.5.x
Expand Down Expand Up @@ -580,7 +580,7 @@ def search_ext(self,base,scope,filterstr='(objectClass=*)',attrlist=None,attrson
return self._ldap_call(
self._l.search_ext,
base,scope,filterstr,
attrlist or [],attrsonly,
attrlist,attrsonly,
RequestControlTuples(serverctrls),
RequestControlTuples(clientctrls),
timeout,sizelimit,
Expand Down

0 comments on commit 6bc4977

Please sign in to comment.