~alexeftimie/jockey/fix-gobject

« back to all changes in this revision

Viewing changes to data/handlers/nvidia.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt, Martin Pitt, Evan Dandrea
  • Date: 2011-04-19 10:43:43 UTC
  • Revision ID: james.westby@ubuntu.com-20110419104343-buiq73p7mvgocslq
Tags: 0.9.2-0ubuntu5
[ Martin Pitt ]
* data/handlers/nvidia.py: Fix broken condition in used(), which would be
  True already if the package was merely installed. (LP: #759804)
* jockey/oslib.py, ignored_modules(): Drop linux-ubuntu-modules, gone long
  ago.
* Cherry-pick r720 from trunk to support a new --kernel option on the
  backend and frontend with --no-dbus. This allows ubiquity to install a PAE
  kernel on the target system and tell jockey to install kernel headers for
  that one instead for the running one. Based on a patch from Evan Dandrea,
  thanks! (LP: #759804)
* Cherry-pick r721 from trunk: OpenPrintingDriverDB: Use the actual package
  version as "version" attribute instead of the driver name. This was a bit
  of a thinko back then. Update test cases accordingly. (LP: #744751)

[ Evan Dandrea ]
* jockey/oslib.py: Disconnect from Debconf before installing packages.
  (LP: #759804)

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        # See if "nvidia" is loaded and if the alias corresponds to nvidia_$flavour
132
132
        return KernelModuleHandler.module_loaded(self._module_alias) and \
133
133
               self._alternatives.resolve_module_alias(self._module_alias) == self.module and \
134
 
               self.package is None or OSLib.inst.package_installed(self.package)
 
134
               (self.package is None or OSLib.inst.package_installed(self.package))
135
135
 
136
136
    def enables_composite(self):
137
137
        '''Return whether this driver supports the composite extension.'''