~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/sourcepackage.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    implements,
27
27
    )
28
28
 
29
 
from canonical.database.sqlbase import (
30
 
    flush_database_updates,
31
 
    sqlvalues,
32
 
    )
33
 
from lp.services.database.lpstorm import IStore
34
 
from canonical.launchpad.webapp.interfaces import ILaunchBag
35
29
from lp.answers.enums import QUESTION_STATUS_DEFAULT_SEARCH
36
30
from lp.answers.model.question import (
37
31
    QuestionTargetMixin,
69
63
from lp.registry.model.hasdrivers import HasDriversMixin
70
64
from lp.registry.model.packaging import Packaging
71
65
from lp.registry.model.suitesourcepackage import SuiteSourcePackage
 
66
from lp.services.database.lpstorm import IStore
 
67
from lp.services.database.sqlbase import (
 
68
    flush_database_updates,
 
69
    sqlvalues,
 
70
    )
 
71
from lp.services.webapp.interfaces import ILaunchBag
72
72
from lp.soyuz.enums import (
73
73
    ArchivePurpose,
74
74
    PackagePublishingStatus,