DSML & async.py
Cristian S. Rocha
crocha at dc.uba.ar
Fri Nov 14 13:43:11 CET 2003
Michael,
You are right. I just made two changes:
1) DSMLWriter._f -> DSMLWriter._output_file
2) DSMLWriter.writeRecord() -> DSMLWriter.unparse()
I will test the changes later.
Thanks,
Cristian.
El vie, 14-11-2003 a las 06:53, Michael Ströder escribió:
> Cristian Sebastian Rocha wrote:
> >
> > Traying to use the DSML writer as the LDIF writer with the async module, with
> > the following code, I changed some lines in the dsml.py and async.py files.
>
> Thanks for sending a patch. Next time please provide some more details what
> you've changed. This enhances the chance that I don't defer changes due to
> my momentary work-load.
>
> From looking at the diff it seems to me that you simply changed the nameof
> the class attribute DSMLWriter._f to DSMLWriter._output_file. Is that right?
>
> Ah, you also changed the name of the method DSMLWriter.writeRecord() to
> DSMLWriter.unparse(). Off course this breaks existing code. Therefore I
> simply added a new wrapper method DSMLWriter.unparse().
>
> I've checked in the changes. Please test!
>
> Ciao, Michael.
>
>
>
>
More information about the python-ldap
mailing list