~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/doc/textformatting.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:45:35 UTC
  • mfrom: (14565.2.24 apocalyptic-pieces)
  • Revision ID: launchpad@pqm.canonical.com-20111222044535-jbjyzq3hzwiy7g20
[rs=sinzui][no-qa] Move javascript and scripts to lp. Dismantle
 mailnotification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
MailWrapper to the rescue!
45
45
 
46
 
    >>> from canonical.launchpad.mailnotification import MailWrapper
 
46
    >>> from lp.services.mail.mailwrapper import MailWrapper
47
47
    >>> mailwrapper = MailWrapper(width=56)
48
48
    >>> print mailwrapper.format(description) #doctest: -NORMALIZE_WHITESPACE
49
49
    A new description that is quite long. But the nice thing