~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Gary Poster
  • Date: 2011-07-27 15:25:32 UTC
  • mto: This revision was merged to the branch mainline in revision 13541.
  • Revision ID: gary.poster@canonical.com-20110727152532-50akr19c7mgcj5qu
add config option for timeout value

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
from canonical.launchpad.database.librarian import LibraryFileAlias
62
62
from canonical.launchpad.interfaces.librarian import ILibraryFileAliasSet
63
63
from canonical.launchpad.interfaces.lpstorm import IStore
 
64
from canonical.launchpad.mail import signed_message_from_string
64
65
from canonical.launchpad.webapp.interfaces import (
65
66
    IStoreSelector,
66
67
    MAIN_STORE,
80
81
    Specification,
81
82
    )
82
83
from lp.bugs.interfaces.bugsummary import IBugSummaryDimension
83
 
from lp.bugs.interfaces.bugtarget import (
84
 
    IHasBugHeat,
85
 
    ISeriesBugTarget,
86
 
    )
 
84
from lp.bugs.interfaces.bugtarget import IHasBugHeat
87
85
from lp.bugs.interfaces.bugtaskfilter import OrderedBugTask
88
 
from lp.bugs.model.bug import get_bug_tags
 
86
from lp.bugs.model.bug import (
 
87
    get_bug_tags,
 
88
    )
89
89
from lp.bugs.model.bugtarget import (
90
90
    BugTargetBase,
91
91
    HasBugHeatMixin,
127
127
from lp.registry.model.series import SeriesMixin
128
128
from lp.registry.model.sourcepackage import SourcePackage
129
129
from lp.registry.model.sourcepackagename import SourcePackageName
130
 
from lp.services.mail.signedmessage import signed_message_from_string
131
130
from lp.services.propertycache import (
132
131
    cachedproperty,
133
132
    get_property_cache,
213
212
    """A particular series of a distribution."""
214
213
    implements(
215
214
        ICanPublishPackages, IBugSummaryDimension, IDistroSeries, IHasBugHeat,
216
 
        IHasBuildRecords, IHasQueueItems, IServiceUsage, ISeriesBugTarget)
 
215
        IHasBuildRecords, IHasQueueItems, IServiceUsage)
217
216
 
218
217
    _table = 'DistroSeries'
219
218
    _defaultOrder = ['distribution', 'version']
805
804
        return self.fullseriesname
806
805
 
807
806
    @property
808
 
    def bugtarget_parent(self):
809
 
        """See `ISeriesBugTarget`."""
810
 
        return self.parent
811
 
 
812
 
    @property
813
807
    def max_bug_heat(self):
814
808
        """See `IHasBugs`."""
815
809
        return self.distribution.max_bug_heat