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:
parent
cc01a36363
commit
12d212d1b4
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue