~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bug.txt

Merge devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
601
601
Modifying a bugtask will update IBug.date_last_updated.
602
602
 
603
603
    >>> from lp.bugs.interfaces.bugtask import (
604
 
    ...     BugTaskImportance, BugTaskStatus, IUpstreamBugTask)
 
604
    ...     BugTaskImportance, BugTaskStatus, IBugTask)
605
605
 
606
606
    >>> firefox_task = firefox_bug.bugtasks[0]
607
607
 
614
614
    New
615
615
 
616
616
    >>> bugtask_before_modification = Snapshot(
617
 
    ...     firefox_task, providing=IUpstreamBugTask)
 
617
    ...     firefox_task, providing=IBugTask)
618
618
 
619
619
    >>> firefox_task.transitionToImportance(
620
620
    ...     BugTaskImportance.CRITICAL, current_user())