~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/vocabularies.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 18:59:36 UTC
  • mfrom: (14645.1.1 typos)
  • Revision ID: launchpad@pqm.canonical.com-20120106185936-c36ko9sfri1s2lkd
[r=bac][no-qa] Fix a slew of typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1196
1196
        productseries = productrelease.productseries
1197
1197
        product = productseries.product
1198
1198
 
1199
 
        # NB: We use '/' as the seperator because '-' is valid in
 
1199
        # NB: We use '/' as the separator because '-' is valid in
1200
1200
        # a product.name or productseries.name
1201
1201
        token = '%s/%s/%s' % (
1202
1202
                    product.name, productseries.name, productrelease.version)
1256
1256
 
1257
1257
    def toTerm(self, obj):
1258
1258
        """See `IVocabulary`."""
1259
 
        # NB: We use '/' as the seperator because '-' is valid in
 
1259
        # NB: We use '/' as the separator because '-' is valid in
1260
1260
        # a product.name or productseries.name
1261
1261
        token = '%s/%s' % (obj.product.name, obj.name)
1262
1262
        return SimpleTerm(