~gary-lasker/software-center/tech-items-to-launcher-fix-lp1006483

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk3/models/appstore2.py

  • Committer: Natalia B. Bidart
  • Date: 2012-05-21 15:34:28 UTC
  • mfrom: (2976.6.18 fix-977931)
  • mto: This revision was merged to the branch mainline in revision 3032.
  • Revision ID: natalia.bidart@canonical.com-20120521153428-5or0ez9ktxinc5pz
Merged dependency branch in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        if doc.installed is None:
165
165
            pkgname = self.get_pkgname(doc)
166
166
            doc.installed = (self.is_available(doc) and
 
167
                             pkgname in self.cache and
167
168
                             self.cache[pkgname].is_installed)
168
169
        return doc.installed
169
170