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 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 !1883
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#653494
external
|
ERP5.CodingStyleTest-Master |
00:57:16
|
||||||
failed |
#653509
external
|
ERP5.UnitTest-Master |
01:32:07
|
||||||
passed |
#653464
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:44
|
||||||
passed |
#653477
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:14
|
||||||
failed |
#653488
external
|
Wendelin.UnitTest-Master |
00:52:33
|
||||||