Skip to content

Commit

Permalink
added support for using generator objects in ldap operations
Browse files Browse the repository at this point in the history
  • Loading branch information
cannatag committed Apr 27, 2015
1 parent 16df652 commit 7504abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* 0.9.8.3 2015.04.08
* 0.9.8.3 2015.04.27
- Added support for kerberos sasl - needs the gssapi package (thanks sigmaris and pefoley2)
- Added support for using generator objects in ldap operations (thanks Matt)

* 0.9.8.2 2015.04.08
- SaslCred returned as raw bytes (thanks Peter)
Expand Down
3 changes: 2 additions & 1 deletion ldap3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@
else: # python 2
STRING_TYPES = (str, unicode)

SEQUENCE_TYPES = (list, tuple)
from types import GeneratorType
SEQUENCE_TYPES = (list, tuple, GeneratorType)

# older and longer constants
AUTH_ANONYMOUS = ANONYMOUS
Expand Down

0 comments on commit 7504abe

Please sign in to comment.