aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/with_crash_on_timeout.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/with_crash_on_timeout.py
parent1339bbde1687911362cf2a244869e30003508986 (diff)
downloadydb-c9843510b39357d5510030691beecfab56e3bd17.tar.gz
futurize build/scripts
commit_hash:41fb885eb1e03094e65521671349e66f4225321b
Diffstat (limited to 'build/scripts/with_crash_on_timeout.py')
-rw-r--r--build/scripts/with_crash_on_timeout.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/scripts/with_crash_on_timeout.py b/build/scripts/with_crash_on_timeout.py
index bde864ed29..915ed51c51 100644
--- a/build/scripts/with_crash_on_timeout.py
+++ b/build/scripts/with_crash_on_timeout.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
# TODO prettyboy remove after ya-bin release
import os
@@ -13,7 +14,7 @@ def main(args):
with open(meta_path) as f:
meta_info = json.loads(f.read())
if meta_info["exit_code"] == timeout_code:
- print >> sys.stderr, meta_info["project"], 'crashed by timeout, use --test-disable-timeout option'
+ print(meta_info["project"], 'crashed by timeout, use --test-disable-timeout option', file=sys.stderr)
return 1
return 0