~gary-lasker/software-center/replace-restfulclient-with-piston-tweaks

« back to all changes in this revision

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

  • Committer: Gary Lasker
  • Date: 2012-01-05 22:45:40 UTC
  • mfrom: (2633.1.2 tweaks)
  • Revision ID: gary.lasker@canonical.com-20120105224540-zlqca0sla4f5hk29
* softwarecenter/ui/gtk3/models/appstore2.py:
  - fix TypeError in load_range (LP: #911886)

Show diffs side-by-side

added added

removed removed

Lines of Context:
455
455
        db = self.db.xapiandb
456
456
        matches = self.current_matches
457
457
 
458
 
        n_matches = len(matches)
 
458
        n_matches = len(matches or [])
459
459
 
460
460
        start = indices[0]
461
461
        end = start + step