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

« back to all changes in this revision

Viewing changes to MythbuntuControlCentre/plugin.py

  • 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:
148
148
    def query_installed(self,package):
149
149
        """Determines if a single package is installed"""
150
150
        try:
151
 
            result = self.pkg_cache[package].CurrentVer
 
151
            result = self.pkg_cache[package].current_ver
152
152
            if result == None:
153
153
                return False
154
154
            else: