erp5_forge: add a utility to convert scripts for Python 3.
Example: if you want to fix print statement under portal_skins/custom, call this script like
context.getPortalObject().portal_skins.custom.Folder_convertPy2ToPy3(
fixer_suffix_list=['fix_print'],
filter_method=lambda s: 'print ' in s and 'print(' not in s,
dry_run=False,
)
See https://docs.python.org/2.7/library/2to3.html#fixers for the list of fixers.
Edited by Kazuhiko Shiozaki