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.
|