~albertomilone/jockey/pkg-version-ubuntu

Viewing all changes in revision 415.

  • Committer: Alberto Milone
  • Date: 2010-04-11 17:14:31 UTC
  • Revision ID: alberto.milone@canonical.com-20100411171431-lodpplad6va8dx0w

* jockey/oslib.py:
  - Implement the package_version() method so that we
    can get the version of a package from apt.
* data/handlers/nvidia.py:
  - Implement the pkg_version() method so that we can
    show the version of the driver instead of being
    limited to the information carried by the version
    attribute. For example, in the case of the
    nvidia-current package, self.version is an
    unlocalised and therefore rather confusing string
    i.e. current when it should really be something
    like 195 (LP: #543176).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: