view tools/base64 @ 4430:f2f2904fe6ce

- refactor: move import_journal to hyperdb .-- it was reimplemented in back_anydbm and rdbms_common and was already inconsistent -- and it doen't have any backend dependencies itself. Interestingly this now fails a test for memorydb (but passes for anydbm: Huh?)
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Thu, 07 Oct 2010 12:22:10 +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/