~mvo/software-center/piston-generic-helper-offline-mode

« back to all changes in this revision

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

  • Committer: Michael Vogt
  • Date: 2012-05-22 12:13:02 UTC
  • mfrom: (2989.5.27 5.2)
  • Revision ID: michael.vogt@ubuntu.com-20120522121302-g89pbzfydf0zc3vw
merge the 5.2 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