Commit 4a639656 authored by Jérome Perrin's avatar Jérome Perrin

use print_function future

This uses `from __future__ import print_function` from "unrestricted" python code.

For restricted python in python scripts, this expects SlapOS to have nexedi/slapos!1536 .
Running ERP5 with this patch on an old SlapOS software release should probably be OK,
especially because after all we don't have so much critical code using print.

To ease migration of custom project code, PythonCodeUtils was modified so that
when running CodingStyle python scripts are checked with print_function future enabled.

See merge request nexedi/erp5!1883
parents d63ec839 3b11c726
Pipeline #33182 failed with stage
in 0 seconds