~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/interfaces/bug.py

[r=wgrant][ui=huwshimi][bug=878605] We don't want to support
 multi-tenanted private bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
635
635
    @operation_parameters(target=copy_field(IBugTask['target']))
636
636
    @export_factory_operation(IBugTask, [])
637
637
    def addTask(owner, target):
638
 
        """Create a new bug task on this bug."""
 
638
        """Create a new bug task on this bug.
 
639
 
 
640
        :raises IllegalTarget: if the bug task cannot be added to the bug.
 
641
        """
639
642
 
640
643
    def hasBranch(branch):
641
644
        """Is this branch linked to this bug?"""