aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/custom_link_green_mysql.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/custom_link_green_mysql.py
parent1339bbde1687911362cf2a244869e30003508986 (diff)
downloadydb-c9843510b39357d5510030691beecfab56e3bd17.tar.gz
futurize build/scripts
commit_hash:41fb885eb1e03094e65521671349e66f4225321b
Diffstat (limited to 'build/scripts/custom_link_green_mysql.py')
-rw-r--r--build/scripts/custom_link_green_mysql.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/scripts/custom_link_green_mysql.py b/build/scripts/custom_link_green_mysql.py
index f754135b8f..1ebff0adf7 100644
--- a/build/scripts/custom_link_green_mysql.py
+++ b/build/scripts/custom_link_green_mysql.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import os
import shutil
import subprocess
@@ -91,7 +92,7 @@ def main():
name = os.path.basename(sys.argv[0])
command = ' '.join(args)
message = '{name} failed: {error}\nCommand line: {command}'
- print >> sys.stderr, message.format(**locals())
+ print(message.format(**locals()), file=sys.stderr)
if __name__ == '__main__':