On Fri, Jun 08, 2018 at 10:37:45AM -0300, Eduardo Habkost wrote:
> On Fri, Jun 08, 2018 at 09:29:43AM -0300, Eduardo Habkost wrote:
> > Change all Python code to use print as a function.
> >
> > This is necessary for Python 3 compatibility.
> >
> > Done using:
> >
> > $ py=$( (g grep -l -E '^#!.*python';find -name '*.py' -printf '%P\n';) | \
> > sort -u | grep -v README.sh4)
> > $ futurize -w -f libfuturize.fixes.fix_print_with_import $py
> >
> > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> > Acked-by: Fam Zheng <famz@redhat.com>
> > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> > ---
> [...]
> > tests/docker/docker.py | 11 +--
> [...]
>
> This patch needs an update:
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> tests/docker/docker.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>