~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-12-22 17:24:23 UTC
  • mto: This revision was merged to the branch mainline in revision 14585.
  • Revision ID: curtis.hovey@canonical.com-20111222172423-b0hyny6w944eewhz
Fixed doc.

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):