Implement easy iterator
Bug #670901 reported by
Morten Siebuhr
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ldap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-ldap
A small patch to ldif.py, that allows the parser to be used directly as an iterator over the entries in a LDIF-file:
p = LDIFParser(
for dn, entry in p.parse():
print dn
print entry
tags: | added: patch |
To post a comment you must log in.