Mercurial > p > roundup > code
view tools/base64 @ 2694:91fdaaf8d929
use mysql.db_exists() instead of mysql.Database
to test connection availability: mysql.Database
requires existing roundup database to connect.
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sun, 26 Sep 2004 15:18:28 +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()))
