Changelog
x-kit (0.4) jaunty; urgency=low
* new upstream release: 0.4:
+ xorgparser.py:
- preserve commented lines inside sections too
- add removeSection()
- add commentOut{Option|SubOption|Section|SubSection}()
o the new "Comments" key in self.globaldict contains commented options and
subsections before these are merged into self.comments
o when a whole section is commented out, its content and its subsections are
immediately moved to self.comments
o commented lines are not meant to be uncommented
o commented lines are ignored by the validator
- add getSubSections()
o return the subsections contained in the section passed as an argument
- separate __getOptionsToBlacklist() from removeOption() so that it can be shared
with commentOutOption()
- docstrings clean-up
+ 0-test.py:
- add tests for the new methods in xorgparser.py
-- Alberto Milone (tseliot) <email address hidden> Mon, 22 Dec 2008 15:58:01 +0100