Mercurial > p > roundup > code
view tools/base64 @ 4543:d16d9bf655d8
- fix handling of traceback mails to the roundup admin
- now this mail is a multipart/alternative with the HTML part *and* the
traceback in text-format.
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Fri, 07 Oct 2011 19:08:54 +0000 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
