~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/soyuz-sampledata-setup.py

  • Committer: William Grant
  • Date: 2012-01-01 03:03:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101030328-xtkp6ob1q8h40sxw
Format the non-contrib bits of lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
import _pythonpath
24
24
 
 
25
import re
25
26
import os
26
 
import re
27
27
import subprocess
28
28
import sys
29
29
from textwrap import dedent
30
 
 
31
 
from storm.store import Store
32
30
import transaction
 
31
 
33
32
from zope.component import getUtility
34
33
from zope.event import notify
35
34
from zope.lifecycleevent import ObjectCreatedEvent
36
35
from zope.security.proxy import removeSecurityProxy
37
36
 
 
37
from storm.store import Store
 
38
 
38
39
from lp.app.interfaces.launchpad import ILaunchpadCelebrities
 
40
from lp.services.webapp.interfaces import (
 
41
    IStoreSelector, MAIN_STORE, MASTER_FLAVOR, SLAVE_FLAVOR)
 
42
 
39
43
from lp.registry.interfaces.codeofconduct import ISignedCodeOfConductSet
40
44
from lp.registry.interfaces.person import IPersonSet
41
45
from lp.registry.interfaces.series import SeriesStatus
42
46
from lp.registry.model.codeofconduct import SignedCodeOfConduct
43
47
from lp.services.scripts.base import LaunchpadScript
44
 
from lp.services.webapp.interfaces import (
45
 
    IStoreSelector,
46
 
    MAIN_STORE,
47
 
    MASTER_FLAVOR,
48
 
    SLAVE_FLAVOR,
49
 
    )
50
48
from lp.soyuz.enums import SourcePackageFormat
51
49
from lp.soyuz.interfaces.component import IComponentSet
52
50
from lp.soyuz.interfaces.processor import IProcessorFamilySet
54
52
from lp.soyuz.interfaces.sourcepackageformat import (
55
53
    ISourcePackageFormatSelectionSet,
56
54
    )
 
55
from lp.soyuz.model.section import SectionSelection
57
56
from lp.soyuz.model.component import ComponentSelection
58
 
from lp.soyuz.model.section import SectionSelection
59
57
from lp.soyuz.scripts.initialize_distroseries import InitializeDistroSeries
60
58
from lp.testing.factory import LaunchpadObjectFactory
61
59