~mvo/software-center/improve-test-for-config

« back to all changes in this revision

Viewing changes to softwarecenter/db/pkginfo_impl/aptcache.py

  • Committer: Gary Lasker
  • Date: 2012-08-01 04:37:06 UTC
  • Revision ID: gary.lasker@canonical.com-20120801043706-pwxs4tayzy14s3cz
TRIVIAL: pep8 fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
        self._ready = False
239
239
        self.emit("cache-invalid")
240
240
        if blocking:
241
 
            progress=None
 
241
            progress = None
242
242
        else:
243
 
            progress=GtkMainIterationProgress()
 
243
            progress = GtkMainIterationProgress()
244
244
        with ExecutionTime("open the apt cache (in event loop)"):
245
245
            if self._cache == None:
246
246
                self._cache = apt.Cache(progress)