~ubuntu-branches/ubuntu/saucy/mythbuntu-control-centre/saucy

« back to all changes in this revision

Viewing changes to mythbuntu-control-centre

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2010-03-28 01:21:16 UTC
  • mfrom: (1.1.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20100328012116-uciafiln0uomrpxb
Tags: 0.62-0ubuntu1
Correct some deprecation warnings from a recent python-apt upload.

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
        """Captures the current state of each plugin and marks the GUI
368
368
           to reflect all current settings"""
369
369
        self.refreshPluginList()
370
 
        self.cache = apt_pkg.GetCache()
 
370
        self.cache = apt_pkg.Cache()
371
371
        queued_removals=[]
372
372
        for plugin in self.plugins:
373
373
            plugin.updateCache(self.cache)