view tools/base64 @ 4966:c355541aaae3

test_mailgw: removed superflous openpgp test data, which was copied to test/gpgmelib.py with 4542:46239c21a1eb but not removed.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 02 Mar 2015 23:05:09 +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/