-
Committer:
Bazaar Package Importer
-
Author(s):
Alberto Milone (tseliot)
-
Date:
2008-12-22 15:58:01 UTC
-
mfrom:
(1.1.2 upstream)
-
Revision ID:
james.westby@ubuntu.com-20081222155801-dqid1bpa01gbzpsg
Tags: 0.4
* 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