Public bug reported:

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(open('example.ldif', 'rb'))
for dn, entry in p.parse():
    print dn
    print entry

** Affects: python-ldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Implement easy iterator
https://bugs.launchpad.net/bugs/670901
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to