view tools/base64 @ 5375:1ad46057ae4a

Test against latest version of Xapian The version of Xapian available in the Ubuntu 14.04 repositories doesn't support python3 (Xapian >=1.3 required). The xapian-backports PPA provides the latest version of Xapian (v1.4.7 at the time of this commit), which does have support for python3.
author John Kristensen <john@jerrykan.com>
date Sat, 21 Jul 2018 23:07:16 +1000
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()))

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