I'd like to propose:

1) adding the ldif.LDIFWriter.writeFooter(self) method
which would simply write:

version: x

with x the version number of the LDIF format (1 for now).


2) Add a variable 'version' to the ldif.LDIFParser, ldif.LDIFWriter classes 
as well as an option in the constructor of the ldif.LDIFWriter:

__init__(self, output_file, base64_attrs=None, cols=76, line_sep='\n', 
version=1)


This should be a trivial change, but I can submit patches if needed.

-- 
Yves.



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to