kicad/demos/python_scripts_examples
Mika Laitio d13fb85d7f python3 print fix to scripts examples
Print function needs to use brackets to be compatible
both with the python2 and python3.
Without this fix following error was generated
with flags
-DKICAD_SCRIPTING_MODULES=ON
-DKICAD_SCRIPTING_PYTHON3=ON

/usr/share/kicad/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py", line 95
print 'plot %s' % pctl.GetPlotFileName()
^
SyntaxError: invalid syntax

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8303

Signed-off-by: Mika Laitio <lamikr@gmail.com>
2021-04-26 15:20:14 +00:00
..
action_menu_add_automatic_border.py Rename GetModules to GetFootprints 2020-11-14 09:37:45 +00:00
action_menu_text_by_date.py Fix incorrect refresh of User Interface after running an action plugin, and add comments 2017-08-27 08:13:35 +02:00
action_plugin_test_undoredo.py Rename D_PAD to PAD 2020-11-14 09:37:45 +00:00
gen_gerber_and_drill_files_board.py python3 print fix to scripts examples 2021-04-26 15:20:14 +00:00
plot_board.py python3 print fix to scripts examples 2021-04-26 15:20:14 +00:00