1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# Copyright 2010 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""All the interfaces that are exposed through the webservice.
There is a declaration in ZCML somewhere that looks like:
<webservice:register module="lp.bugs.interfaces.webservice" />
which tells `lazr.restful` that it should look for webservice exports here.
"""
__all__ = [
'BugNominationStatusError',
'IBug',
'IBugActivity',
'IBugAttachment',
'IBugBranch',
'IBugLinkTarget',
'IBugNomination',
'IBugSubscription',
'IBugTarget',
'IBugTask',
'IBugTracker',
'IBugTrackerComponent',
'IBugTrackerComponentGroup',
'IBugTrackerSet',
'IBugWatch',
'ICve',
'ICveSet',
'IHasBugs',
'IMaloneApplication',
'IStructuralSubscription',
'IStructuralSubscriptionTarget',
'IllegalRelatedBugTasksParams',
'IllegalTarget',
'NominationError',
'NominationSeriesObsoleteError',
'UserCannotEditBugTaskAssignee',
'UserCannotEditBugTaskImportance',
'UserCannotEditBugTaskMilestone',
'UserCannotEditBugTaskStatus',
]
from lp.bugs.interfaces.bug import (
IBug,
)
from lp.bugs.interfaces.bugactivity import IBugActivity
from lp.bugs.interfaces.bugattachment import IBugAttachment
from lp.bugs.interfaces.bugbranch import IBugBranch
from lp.bugs.interfaces.buglink import IBugLinkTarget
from lp.bugs.interfaces.bugnomination import (
BugNominationStatusError,
IBugNomination,
NominationError,
NominationSeriesObsoleteError,
)
from lp.bugs.interfaces.bugsubscription import IBugSubscription
from lp.bugs.interfaces.bugsubscriptionfilter import IBugSubscriptionFilter
from lp.bugs.interfaces.bugtarget import (
IBugTarget,
IHasBugs,
)
from lp.bugs.interfaces.bugtask import (
IBugTask,
IllegalRelatedBugTasksParams,
IllegalTarget,
UserCannotEditBugTaskAssignee,
UserCannotEditBugTaskImportance,
UserCannotEditBugTaskMilestone,
UserCannotEditBugTaskStatus,
)
from lp.bugs.interfaces.bugtracker import (
IBugTracker,
IBugTrackerComponent,
IBugTrackerComponentGroup,
IBugTrackerSet,
)
from lp.bugs.interfaces.bugwatch import IBugWatch
from lp.bugs.interfaces.cve import (
ICve,
ICveSet,
)
from lp.bugs.interfaces.malone import IMaloneApplication
from lp.bugs.interfaces.structuralsubscription import (
IStructuralSubscription,
IStructuralSubscriptionTarget,
)
# XXX: JonathanLange 2010-11-09 bug=673083: Legacy work-around for circular
# import bugs. Break this up into a per-package thing.
from canonical.launchpad.interfaces import _schema_circular_imports
_schema_circular_imports
|