~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/vocabularies/branch.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 15:13:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218151307-sdm2gzobt5tplbe0
Moved badges to lp.app.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
from zope.interface import implements
17
17
from zope.schema.vocabulary import SimpleTerm
18
18
 
 
19
from canonical.launchpad.webapp.interfaces import ILaunchBag
 
20
from canonical.launchpad.webapp.vocabulary import (
 
21
    CountableIterator,
 
22
    IHugeVocabulary,
 
23
    SQLObjectVocabularyBase,
 
24
    )
 
25
 
19
26
from lp.code.enums import BranchType
20
27
from lp.code.interfaces.branch import IBranch
21
28
from lp.code.interfaces.branchcollection import IAllBranches
23
30
from lp.registry.interfaces.person import IPerson
24
31
from lp.registry.interfaces.product import IProduct
25
32
from lp.registry.interfaces.productseries import IProductSeries
26
 
from lp.services.webapp.interfaces import ILaunchBag
27
 
from lp.services.webapp.vocabulary import (
28
 
    CountableIterator,
29
 
    IHugeVocabulary,
30
 
    SQLObjectVocabularyBase,
31
 
    )
32
33
 
33
34
 
34
35
class BranchVocabularyBase(SQLObjectVocabularyBase):