Mercurial > p > roundup > code
view tools/base64 @ 4378:477f2a47cbca
- Indexer Xapian, made Xapian 1.2 compatible.
Needs at least Xapian 1.0.0 now.
(Bernhard Reiter; Thanks to Olly Betts for providing the patch Issue2550647.)
| author | Bernhard Reiter <Bernhard.Reiter@intevation.de> |
|---|---|
| date | Mon, 28 Jun 2010 12:52: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()))
