~juliank/software-center/debian-next

« back to all changes in this revision

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

  • Committer: Julian Andres Klode
  • Date: 2010-08-02 15:20:09 UTC
  • mfrom: (429.62.230 trunk)
  • Revision ID: jak@debian.org-20100802152009-r5s64zd6rb43g7pa
* Merge with Ubuntu's 2.1 series (2.1.7 + bzr), remaining differences:
  - po/cs.po: Updated.
  - softwarecenter/app.py: Remove views menu when not on Ubuntu.
  - setup.py: Support + and - in version numbers.
  - setup.py, setup.cfg: Use unbranded stuff.
  - debian/control:
    - Update Standards-Version
    - Change Vcs-Bzr, Maintainer to Debian.
    - Do not depend on humanity-icon-theme, but gnome-icon-theme.
    - Remove Ubuntu from package description-
  - debian/rules:
    - Drop the old hack for handling non-Ubuntu systems.
    - Run build_i18n in clean.

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)