view tools/base64 @ 4974:65a76a7f3e01

issue2550877 partly fixed. * Added docstring hint to _get_mail(). * Fixed FROM: lines in testMultipartRFC822() and testUnknownUser()
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 11 Mar 2015 21:47:41 +0100
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/