Commit bd3ec954 by Matthias Putz

Fix: if clone bundle download fails because of url error, try normal fetch

parent e58d9922
......@@ -21,7 +21,7 @@ REPO_REV = 'stable'
# limitations under the License.
# increment this whenever we make important changes to this script
VERSION = (1, 22)
VERSION = (1, 23)
# increment this if the MAINTAINER_KEYS block is modified
KEYRING_VERSION = (1, 2)
......@@ -500,7 +500,8 @@ def _DownloadBundle(url, local, quiet):
except urllib.error.URLError as e:
_print('fatal: Cannot get %s' % url, file=sys.stderr)
_print('fatal: error %s' % e.reason, file=sys.stderr)
raise CloneFailure()
# raise CloneFailure()
return False
try:
if not quiet:
_print('Get %s' % url, file=sys.stderr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment