From: Cristian S. R. <cr...@dc...> - 2003-11-14 12:45:33
|
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=F6der escribi=F3: > Cristian Sebastian Rocha wrote: > >=20 > > 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. >=20 > Thanks for sending a patch. Next time please provide some more deta= ils what > you've changed. This enhances the chance that I don't defer changes= due to > my momentary work-load. >=20 > From looking at the diff it seems to me that you simply changed th= e nameof > the class attribute DSMLWriter._f to DSMLWriter._output_file. Is th= at right? >=20 > Ah, you also changed the name of the method DSMLWriter.writeRecord(= ) to > DSMLWriter.unparse(). Off course this breaks existing code. Therefo= re I > simply added a new wrapper method DSMLWriter.unparse(). >=20 > I've checked in the changes. Please test! >=20 > Ciao, Michael. >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev --=20 Cristian S. Rocha <cr...@dc...> Departamento de Computaci=F3n - Universidad de Buenos Aires |