~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/doc/soyuz-set-of-uploads.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-15 10:35:32 UTC
  • mfrom: (14517.1.3 new-bzr)
  • Revision ID: launchpad@pqm.canonical.com-20111215103532-q2m4uyk0r8ugiayx
[r=sinzui, poolie][bug=509016] Always load foreign plugins,
 but restrict probers to avoid accidentally opening foreign branches.
 (re-land)

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
    ...     if loglevel is None or loglevel <= logging.INFO:
266
266
    ...         print "Upload complete."
267
267
 
268
 
    >>> from lp.testing.mail_helpers import (
269
 
    ...     pop_notifications,
270
 
    ...     sort_addresses,
271
 
    ...     )
 
268
    >>> from lp.testing.mail_helpers import pop_notifications
272
269
    >>> def read_email():
273
270
    ...     """Pop all emails from the test mailbox, and summarize them.
274
271
    ...
277
274
    ...     line.
278
275
    ...     """
279
276
    ...     for message in pop_notifications(commit=False):
280
 
    ...         print "To:", sort_addresses(message['to'])
 
277
    ...         print "To:", message['to']
281
278
    ...         print "Subject:", message['subject']
282
279
    ...         print message.get_payload()[0].as_string()
283
280
    ...         print ''
308
305
 
309
306
    >>> read_email()
310
307
    To:
311
 
        Daniel Silverstone <daniel.silverstone@canonical.com>,
312
 
        Foo Bar <foo.bar@canonical.com>
 
308
        Foo Bar <foo.bar@canonical.com>,
 
309
        Daniel Silverstone <daniel.silverstone@canonical.com>
313
310
    Subject: bar_1.0-3_source.changes rejected
314
311
    ...
315
312