From 1043247c99ae3a1f4ca3a11a06c4e0d180f23ac8 Mon Sep 17 00:00:00 2001 From: zfhrp Date: Sat, 14 May 2016 03:22:00 +0900 Subject: [PATCH] fix stream download ("prefetch" option changed to "stream") --- bin/garden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/garden b/bin/garden index 57c1f9b..cd359b0 100755 --- a/bin/garden +++ b/bin/garden @@ -189,7 +189,7 @@ class GardenTool(object): package) print('Downloading {} ...'.format(url)) - r = requests.get(url)#, prefetch=False) + r = requests.get(url, stream=True) if r.status_code != 200: print('Unable to find the garden package. (error={})'.format( r.status_code))