aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/fetch_from.py
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.ru>2022-02-10 16:47:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:13 +0300
commitbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch)
treed41d29a041d5733ef148335290dbb817b197d4cd /build/scripts/fetch_from.py
parent986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff)
downloadydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/scripts/fetch_from.py')
-rwxr-xr-xbuild/scripts/fetch_from.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/fetch_from.py b/build/scripts/fetch_from.py
index db4fea50bf..2f9c95ee96 100755
--- a/build/scripts/fetch_from.py
+++ b/build/scripts/fetch_from.py
@@ -210,7 +210,7 @@ def fetch_url(url, unpack, resource_file_name, expected_md5=None, expected_sha1=
tmp_file_name = uniq_string_generator()
request = urllib2.Request(url, headers={'User-Agent': make_user_agent()})
- req = retry.retry_func(lambda: urllib2.urlopen(request, timeout=30), tries=tries, delay=5, backoff=1.57079)
+ req = retry.retry_func(lambda: urllib2.urlopen(request, timeout=30), tries=tries, delay=5, backoff=1.57079)
logging.debug('Headers: %s', req.headers.headers)
expected_file_size = int(req.headers['Content-Length'])
real_md5 = hashlib.md5()