view tools/base64 @ 5516:91391a366d92

fixed issue2550967: support .xml files in addition to .html in the jinja2 loader
author Christof Meerwald <cmeerw@cmeerw.org>
date Sun, 19 Aug 2018 15:26:52 +0100
parents c75defc1c2f0
children 9c3ec0a5c7fc
line wrap: on
line source

#!/usr/bin/env python
from __future__ import print_function
import zlib, base64, sys
print(base64.encodestring(zlib.compress(sys.stdin.read())))

Roundup Issue Tracker: http://roundup-tracker.org/