lp:~cjwatson/xorgparser/dh-python2

Created by Colin Watson and last modified
Get this branch:
bzr branch lp:~cjwatson/xorgparser/dh-python2
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
XorgParser
Status:
Merged

Recent revisions

41. By Colin Watson

Convert to dh_python2.

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
        commentOutSection() in xorgparser.py

35. By albertomilone <email address hidden>

debian/changelog: change distribution to jaunty

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

32. By albertomilone <email address hidden>

preserve globaldict object when using writeFile()

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers