Minor bug in ldif.py
michael at stroeder.com
Tue Jun 5 17:00:09 CEST 2001
David Leonard wrote:
> On Thu, 31 May 2001, Roger Moore typed thusly:
> > I just noticed a slight bug in ldif.py to do with the deletion of the
> > object class list. The problem is that if you name the attribute
> > 'objectClass' then the first attrs.remove() statement generates an
> > exception and the second statement is not reached.
> > [..]
> i have committed a different fix.
Since the whole object class thingy was just for writing the
objectClass lines at the beginning of an entry I completely removed
it. It causes nothing but grief...
BTW: I made more modifications (__doc__ strings, more readable code,
More information about the python-ldap