Skip to content

Commit bd3ec95

Browse files
author
Matthias Putz
committed
Fix: if clone bundle download fails because of url error, try normal fetch
1 parent e58d992 commit bd3ec95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

repo

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ REPO_REV = 'stable'
2121
# limitations under the License.
2222

2323
# increment this whenever we make important changes to this script
24-
VERSION = (1, 22)
24+
VERSION = (1, 23)
2525

2626
# increment this if the MAINTAINER_KEYS block is modified
2727
KEYRING_VERSION = (1, 2)
@@ -500,7 +500,8 @@ def _DownloadBundle(url, local, quiet):
500500
except urllib.error.URLError as e:
501501
_print('fatal: Cannot get %s' % url, file=sys.stderr)
502502
_print('fatal: error %s' % e.reason, file=sys.stderr)
503-
raise CloneFailure()
503+
# raise CloneFailure()
504+
return False
504505
try:
505506
if not quiet:
506507
_print('Get %s' % url, file=sys.stderr)

0 commit comments

Comments
 (0)