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>
2.0.x
Alexey Shvetsov 7 years ago
parent cc01a36363
commit 12d212d1b4

@ -1,3 +1,4 @@
from __future__ import print_function
import sys import sys
#dynamic build flags for generic compile options #dynamic build flags for generic compile options
@ -27,7 +28,7 @@ if __name__ == "__main__":
for i in range(1, len(sys.argv)): for i in range(1, len(sys.argv)):
args += " " + sys.argv[i] args += " " + sys.argv[i]
print args print(args)
# extra script for linker options # extra script for linker options
else: else:

Loading…
Cancel
Save