From 12d212d1b4433ef4a947af81fc1d386d891008b5 Mon Sep 17 00:00:00 2001
From: Alexey Shvetsov <alexxy@gentoo.org>
Date: Fri, 13 Oct 2017 01:39:06 +0300
Subject: [PATCH] Python isnt always python2

So now this script is compatible with both python versions 2 and 3

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
---
 Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py b/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
index 1c9ab42468..30781e99d3 100644
--- a/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
+++ b/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
 import sys
 
 #dynamic build flags for generic compile options
@@ -27,7 +28,7 @@ if __name__ == "__main__":
   for i in range(1, len(sys.argv)):
     args += " " + sys.argv[i]
 
-  print args
+  print(args)
 
 # extra script for linker options
 else: