Mercurial > p > roundup > code
view tools/base64 @ 2557:ff02e9851592
translator object must be Roundup Translation Service...
...providing both TAL and gettext translation API;
if no explicit translator given, get the service object
from lookup function, not from the obsolescent global variable
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sun, 11 Jul 2004 14:23:12 +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()))
