view tools/base64 @ 4584:760483ce731e

Fix override of TemplatingUtils in instance.py. Thanks to Cheer Xiao for the patch.
author Ralf Schlatterbeck <rsc@runtux.com>
date Mon, 30 Jan 2012 14:52:14 +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/