aboutsummaryrefslogtreecommitdiff
path: root/manual tests/4 standalone binaries
diff options
context:
space:
mode:
authorAndrei Antonov <polymorphm@gmail.com>2018-08-26 20:37:49 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-08-27 00:55:45 +0300
commit8f7781f1d6bf36c064b39e7d0794c686f1b78665 (patch)
tree892219ca1dce71083a764ab3a885241b20d3a36e /manual tests/4 standalone binaries
parentf34f0717e00756ea786ac62b3126d3425fcd6649 (diff)
downloadmeson-8f7781f1d6bf36c064b39e7d0794c686f1b78665.zip
meson-8f7781f1d6bf36c064b39e7d0794c686f1b78665.tar.gz
meson-8f7781f1d6bf36c064b39e7d0794c686f1b78665.tar.bz2
using urlopen() with explicit timeout
Diffstat (limited to 'manual tests/4 standalone binaries')
-rwxr-xr-xmanual tests/4 standalone binaries/build_windows_package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual tests/4 standalone binaries/build_windows_package.py b/manual tests/4 standalone binaries/build_windows_package.py
index b30ec4d..0932eac 100755
--- a/manual tests/4 standalone binaries/build_windows_package.py
+++ b/manual tests/4 standalone binaries/build_windows_package.py
@@ -11,7 +11,7 @@ shutil.rmtree('build', ignore_errors=True)
os.mkdir('build')
if not os.path.exists(sdl_filename):
- response = urllib.request.urlopen(sdl_url)
+ response = urllib.request.urlopen(sdl_url, timeout=600.0)
data = response.read()
open(sdl_filename, 'wb').write(data)