aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/compile_cuda.py
diff options
context:
space:
mode:
authorv-korovin <v-korovin@yandex-team.com>2024-09-26 10:35:27 +0300
committerv-korovin <v-korovin@yandex-team.com>2024-09-26 10:44:46 +0300
commitc9843510b39357d5510030691beecfab56e3bd17 (patch)
tree990009b83044e936303dec6b770033b46f59c6fc /build/scripts/compile_cuda.py
parent1339bbde1687911362cf2a244869e30003508986 (diff)
downloadydb-c9843510b39357d5510030691beecfab56e3bd17.tar.gz
futurize build/scripts
commit_hash:41fb885eb1e03094e65521671349e66f4225321b
Diffstat (limited to 'build/scripts/compile_cuda.py')
-rw-r--r--build/scripts/compile_cuda.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/scripts/compile_cuda.py b/build/scripts/compile_cuda.py
index 9660300069..8e08d17ad2 100644
--- a/build/scripts/compile_cuda.py
+++ b/build/scripts/compile_cuda.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import sys
import subprocess
import os
@@ -60,7 +61,7 @@ def main():
executable = command[0]
if not os.path.exists(executable):
- print >> sys.stderr, '{} not found'.format(executable)
+ print('{} not found'.format(executable), file=sys.stderr)
sys.exit(1)
if is_clang(command):