~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/doc/vocabularies.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-02 07:46:59 UTC
  • mfrom: (13481.1.7 pillarname-vocab)
  • Revision ID: launchpad@pqm.canonical.com-20110802074659-0axtgug203q0qf1s
[r=sinzui][bug=541979] PillarVocabularyBase has been Storm'd,
 and the results are first ordered by exact match first,
 and secondly limited to 100.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1170
1170
token/name.
1171
1171
 
1172
1172
    >>> [term.token for term in vocab.searchForTerms(query='ubuntu')]
1173
 
    ['kubuntu', 'ubuntu', 'ubuntutest']
 
1173
    ['ubuntu', 'kubuntu', 'ubuntutest']
1174
1174
 
1175
1175
    >>> vocab.getTermByToken('ubuntu').token
1176
1176
    'ubuntu'