Mercurial > p > roundup > code
view tools/base64 @ 3734:c2c56f560d2d
roundup-server called setuid when run by non-root user
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sun, 29 Oct 2006 05:05: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()))
