Skip to content

Commit

Permalink
Work-around for attrlist=None regression introduced in 2.4.23 by ref …
Browse files Browse the repository at this point in the history
…count patch
  • Loading branch information
stroeder committed Jan 17, 2016
1 parent 8615297 commit 1d4bdc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Released 2.4.24 2016-01-18

Changes since 2.4.23:

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

----------------------------------------------------------------
Released 2.4.23 2016-01-17

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

$Id: CHANGES,v 1.367 2016/01/17 20:30:43 stroeder Exp $
$Id: CHANGES,v 1.368 2016/01/17 20:31:54 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.149 2015/10/24 15:46:12 stroeder Exp $
\$Id: ldapobject.py,v 1.150 2016/01/17 20:31:54 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,attrsonly,
attrlist or [],attrsonly,
RequestControlTuples(serverctrls),
RequestControlTuples(clientctrls),
timeout,sizelimit,
Expand Down

0 comments on commit 1d4bdc5

Please sign in to comment.