~evfool/update-manager/fix665173

« back to all changes in this revision

Viewing changes to Janitor/plugins/langpack_manual_plugin.py

  • Committer: Michael Vogt
  • Date: 2011-02-23 17:11:23 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110223171123-wrbx0xuqxvkporh4
merged lp:~thibault-lemaitre/ubuntu/natty/update-manager/from_pkg.isInstalled_to_pkg.is_installed
that fixes a bunch of deprecated python-apt issues (many thanks!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
            if (pkg.name.startswith("language-pack-") and 
61
61
                not pkg.name.endswith("-base") and
62
62
                cache._depcache.IsAutoInstalled(pkg._pkg) and
63
 
                pkg.isInstalled):
 
63
                pkg.is_installed):
64
64
                logging.debug("setting '%s' to manual installed" % pkg.name)
65
65
                yield ManualInstallCruft(pkg)