Mercurial > p > roundup > code
view tools/base64 @ 4892:29bc5484969a
Improved website/issues/extensions/local_replace.py and hg copied it over to the devel and responsive templates.
* Added a substitution for the default hg output format.
* Used a base url variable for the two hg substitutions.
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Sat, 26 Apr 2014 23:13:25 +0200 |
| 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()))
