| Branch: | Tag: | Revision:

root / test / @ d357f531

History | View | Annotate | Download (1.4 kB)

# Date Author Comment
4c14965f 08/05/2009 05:55 pm Guido Trotter

ConfigObject.ToDict() only export non-None values

The method is changed to a normal loop, to avoid calling getattr()
twice. Also getstate is changed to just use ToDict() by default.

This should also make getstate work for objects which have to
override the ToDict function because they contain other objects....