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>
This commit is contained in:
Alexey Shvetsov 2017-10-13 01:39:06 +03:00
parent cc01a36363
commit 12d212d1b4

View file

@ -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: