aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/fetch_from_archive.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/fetch_from_archive.py
parent1339bbde1687911362cf2a244869e30003508986 (diff)
downloadydb-c9843510b39357d5510030691beecfab56e3bd17.tar.gz
futurize build/scripts
commit_hash:41fb885eb1e03094e65521671349e66f4225321b
Diffstat (limited to 'build/scripts/fetch_from_archive.py')
-rw-r--r--build/scripts/fetch_from_archive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/scripts/fetch_from_archive.py b/build/scripts/fetch_from_archive.py
index e7bbe23362..3214b78dc8 100644
--- a/build/scripts/fetch_from_archive.py
+++ b/build/scripts/fetch_from_archive.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
import os
import sys
import logging
@@ -30,7 +31,7 @@ if __name__ == '__main__':
main(args)
except Exception as e:
logging.exception(e)
- print >> sys.stderr, open(args.abs_log_path).read()
+ print(open(args.abs_log_path).read(), file=sys.stderr)
sys.stderr.flush()
import error