~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-05 01:16:46 UTC
  • mfrom: (14628.1.2 js-client-link)
  • Revision ID: launchpad@pqm.canonical.com-20120105011646-dlhd7oqm9pui6yk1
[r=benji][bug=911973] Set lp_original_uri properly for objects
        returned by named_get and named_post that have a self_link.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
Finer-grained access to indirect subscribers is provided by
99
99
getAlsoNotifiedSubscribers() and getSubscribersFromDuplicates().
100
100
 
101
 
    >>> list(linux_source_bug.getAlsoNotifiedSubscribers())
 
101
    >>> linux_source_bug.getAlsoNotifiedSubscribers()
102
102
    [<Person at ...>]
103
 
    >>> list(linux_source_bug.getSubscribersFromDuplicates())
104
 
    []
 
103
    >>> linux_source_bug.getSubscribersFromDuplicates()
 
104
    ()
105
105
 
106
106
It is also possible to get the list of indirect subscribers for an
107
107
individual bug task.
108
108
 
109
109
    >>> from lp.bugs.model.bug import get_also_notified_subscribers
110
110
    >>> res = get_also_notified_subscribers(linux_source_bug.bugtasks[0])
111
 
    >>> list(res)
 
111
    >>> res
112
112
    [<Person at ...>]
113
113
 
114
114
These are security proxied.