view tools/base64 @ 4722:f7e68ae4926c

Restore compatibility with an old style trackers (not sure if they work at all).
author anatoly techtonik <techtonik@gmail.com>
date Fri, 11 Jan 2013 00:46:23 +0300
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/