~and471/software-center/fix-524289

« back to all changes in this revision

Viewing changes to apt-xapian-index-plugin/origin.py

  • Committer: Michael Vogt
  • Date: 2010-08-02 12:56:50 UTC
  • mfrom: (966 trunk)
  • mto: This revision was merged to the branch mainline in revision 980.
  • Revision ID: michael.vogt@ubuntu.com-20100802125650-pnfpz40j3ykn28v2
mergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        ver = pkg.candidate
69
69
        if ver is None: 
70
70
            return
 
71
        if not ver.downloadable:
 
72
            document.add_term("XOL"+"notdownloadable")
71
73
        for origin in ver.origins:
72
74
            document.add_term("XOA"+origin.archive)
73
75
            document.add_term("XOC"+origin.component)