bin/cubicweb-ctl
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 06 Jun 2018 11:56:15 +0200
changeset 12311 4d8268ef1fb7
parent 12253 9165f4b7426b
child 12779 44147dab9d27
permissions -rwxr-xr-x
[py3] Decode subprocess stdout in toolsutils.show_diffs() On Python 3, subprocess' pipes are bytes stream so we must decode them before printing. Without this change, diff of configuration files (e.g. all-in-one.conf as displayed upon instance upgrade) will rendered as a single line on Python 3.

#!/usr/bin/env python
from cubicweb.cwctl import run
run()