3
# Copyright 2012 Canonical Ltd. This software is licensed under the
4
# GNU Affero General Public License version 3 (see the file LICENSE).
6
# encode examples/master.cfg | python -c 'import sys, base64; base64.decode(sys.stdin, sys.stdout)'
12
filename = sys.argv[1]
13
tmp = StringIO.StringIO()
14
with open(filename) as f:
18
sys.stdout.write(''.join(l.strip() for l in tmp.readlines()))