~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 22:01:40 UTC
  • mfrom: (14583.1.25 move-webservice)
  • Revision ID: launchpad@pqm.canonical.com-20111222220140-o53ycgaapjua1dde
[rs=sinzui][bug=907843] Move webservice to lp.services.webservice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
 
66
66
class BugMessageSet:
67
 
    """See canonical.launchpad.interfaces.IBugMessageSet."""
 
67
    """See `IBugMessageSet`."""
68
68
 
69
69
    implements(IBugMessageSet)
70
70
 
71
71
    def createMessage(self, subject, bug, owner, content=None):
72
 
        """See canonical.launchpad.interfaces.IBugMessageSet."""
 
72
        """See `IBugMessageSet`."""
73
73
        msg = Message(
74
74
            parent=bug.initial_message, owner=owner,
75
75
            rfc822msgid=make_msgid('malone'), subject=subject)
84
84
        return bugmsg
85
85
 
86
86
    def get(self, bugmessageid):
87
 
        """See canonical.launchpad.interfaces.IBugMessageSet."""
 
87
        """See `IBugMessageSet`."""
88
88
        return BugMessage.get(bugmessageid)
89
89
 
90
90
    def getByBugAndMessage(self, bug, message):
91
 
        """See canonical.launchpad.interfaces.IBugMessageSet."""
 
91
        """See`IBugMessageSet`."""
92
92
        return BugMessage.selectOneBy(bug=bug, message=message)
93
93
 
94
94
    def getImportedBugMessages(self, bug):