view tools/base64 @ 4523:a03646a02f68

Fix issue2550691 where a Unix From-Header was sometimes inserted... ...in outgoing emails, thanks to Joseph Myers for the patch.
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Fri, 15 Jul 2011 14:05:29 +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()))

Roundup Issue Tracker: http://roundup-tracker.org/