view tools/base64 @ 4977:1417dbdb8dbf

Small improvement and fix of issue2550877 added to CHANGES.txt.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 12 Mar 2015 22:18:35 +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/