lp://staging/~cjwatson/xorgparser/dh-python2
- Get this branch:
- bzr branch lp://staging/~cjwatson/xorgparser/dh-python2
Branch merges
- Alberto Milone: Approve
-
Diff: 39 lines (+3/-6)3 files modifieddebian/control (+3/-3)
debian/pycompat (+0/-1)
debian/rules (+0/-2)
Related bugs
Bug #788514: python packages on the CDs not using dh_python2 | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 40. By Alberto Milone
-
* Release 0.4.2.2:
+ xutils.py:
- make isDriverInSection() return True only if all of the specified
sections contain the driver. This prevents isDriverEnabled() from
returning false positives.
+ 1-test.py:
- Modify the test for testIsDriverEnabled() so as to test the correct
behaviour.
- Add two more tests for IsDriverEnabled(). - 39. By Alberto Milone
-
* Release 0.4.2.1:
+ xorgparser.py:
- Add InputClass to the whitelist of xorg.conf sections so that
the validator doesn't raise an error about it. - 38. By Alberto Milone
-
* examples/
1-example. py:
- replace getIdentifier() with getPosition() as this is what
the example was meant to do (LP: #366624).
* README:
- replace import XKit with import XKit.xutils. - 37. By albertomilone <email address hidden>
-
* new upstream release: 0.4.2:
+ xorgparser.py:
- remove harmless but useless lines after an Exception in getValue()
- make sure that if optiontype != None the option (differently from
the value) is always put in quotation marks in addOption()
+ 0-test.py:
- add a test for the quotation marks check in addOption() - 36. By albertomilone <email address hidden>
-
* new upstream release: 0.4.1:
+ xorgparser.py:
- removeSection() and commentOutSection() now remove any reference to the
sections they remove/comment out from self.identifiers
+ 0-test.py:
- modify the existing tests to test the corrections to removeSection() and
commentOutSect ion() in xorgparser.py - 34. By albertomilone <email address hidden>
-
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 - 33. By albertomilone <email address hidden>
-
do not close file objects in writeFile() and use deepcopy for tempdict
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)