~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/model/bugbranch.py

  • Committer: William Grant
  • Date: 2011-12-30 07:08:24 UTC
  • mfrom: (14606.2.10 apocatest)
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230070824-j5qaapyxh3zehhfm
Merge apocatest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from zope.component import getUtility
26
26
from zope.interface import implements
27
27
 
28
 
from canonical.database.constants import UTC_NOW
29
 
from canonical.database.datetimecol import UtcDateTimeCol
30
 
from canonical.database.sqlbase import SQLBase
31
 
from canonical.launchpad.interfaces.lpstorm import IStore
32
28
from lp.app.interfaces.launchpad import ILaunchpadCelebrities
33
29
from lp.bugs.interfaces.bugbranch import (
34
30
    IBugBranch,
37
33
from lp.code.interfaces.branchtarget import IHasBranchTarget
38
34
from lp.registry.interfaces.person import validate_public_person
39
35
from lp.registry.model.teammembership import TeamParticipation
 
36
from lp.services.database.constants import UTC_NOW
 
37
from lp.services.database.datetimecol import UtcDateTimeCol
 
38
from lp.services.database.lpstorm import IStore
 
39
from lp.services.database.sqlbase import SQLBase
40
40
 
41
41
 
42
42
class BugBranch(SQLBase):
43
 
    """See canonical.launchpad.interfaces.IBugBranch."""
 
43
    """See `IBugBranch`."""
44
44
    implements(IBugBranch, IHasBranchTarget)
45
45
 
46
46
    datecreated = UtcDateTimeCol(notNull=True, default=UTC_NOW)