~evfool/software-center/lp1076189

« back to all changes in this revision

Viewing changes to softwarecenter/db/appfilter.py

  • Committer: Michael Vogt
  • Date: 2012-12-17 08:51:40 UTC
  • mfrom: (3274.1.1 pep8-e125)
  • Revision ID: michael.vogt@ubuntu.com-20121217085140-1wkpd4sopmdw5iyo
mergedĀ lp:~mvo/software-center/pep8-e125

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                return False
93
93
        if self.installed_only:
94
94
            if (not pkgname in self.cache or
95
 
                not self.cache[pkgname].is_installed):
 
95
                    not self.cache[pkgname].is_installed):
96
96
                return False
97
97
        if self.not_installed_only:
98
98
            if (pkgname in self.cache and
99
 
                self.cache[pkgname].is_installed):
 
99
                    self.cache[pkgname].is_installed):
100
100
                return False
101
101
        if global_filter.supported_only:
102
102
            if not self.distro.is_supported(self.cache, doc, pkgname):