Skip to content
Snippets Groups Projects
Commit 12d212d1 authored by Alexey Shvetsov's avatar Alexey Shvetsov
Browse files

Python isnt always python2


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

Signed-off-by: default avatarAlexey Shvetsov <alexxy@gentoo.org>
parent cc01a363
Branches
Tags
No related merge requests found
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__": ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment