diff options
author | Andrei Antonov <polymorphm@gmail.com> | 2018-08-26 20:37:49 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-27 00:55:45 +0300 |
commit | 8f7781f1d6bf36c064b39e7d0794c686f1b78665 (patch) | |
tree | 892219ca1dce71083a764ab3a885241b20d3a36e /manual tests/4 standalone binaries | |
parent | f34f0717e00756ea786ac62b3126d3425fcd6649 (diff) | |
download | meson-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-x | manual tests/4 standalone binaries/build_windows_package.py | 2 |
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) |