view tools/base64 @ 2636:943f9d4592b8

Backwards-compatibility aliases for mysql config. NFI how we can handle postgresql though, since the old-style configuration for it was a single dict with the various values.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 27 Jul 2004 01:23:50 +0000
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/