~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:26:32 UTC
  • mfrom: (14606.4.19 apocaremains-2)
  • Revision ID: launchpad@pqm.canonical.com-20111231002632-67fafhhz150cct3b
[r=wgrant][no-qa] Explode canonical.lazr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
    >>> from StringIO import StringIO
30
30
 
31
 
    >>> from canonical.lazr.testing.event import TestEventListener
 
31
    >>> from lp.testing.event import TestEventListener
32
32
    >>> from lazr.lifecycle.event import IObjectCreatedEvent
33
33
    >>> def attachment_added(attachment, event):
34
34
    ...     print "Attachment added: %r" % attachment.libraryfile.filename