Browse code

Merge "make curl fail on pypi errors"

Jenkins authored on 2015/10/09 03:04:31
Showing 1 changed files
... ...
@@ -69,7 +69,7 @@ function install_get_pip {
69 69
             timecond="-z $LOCAL_PIP"
70 70
         fi
71 71
 
72
-        curl --retry 6 --retry-delay 5 \
72
+        curl -f --retry 6 --retry-delay 5 \
73 73
             $timecond -o $LOCAL_PIP $PIP_GET_PIP_URL || \
74 74
             die $LINENO "Download of get-pip.py failed"
75 75
         touch $LOCAL_PIP.downloaded