gs_fetch_binpkg: Re-enable retries in chromite.
A previous CL removed retry code in fs_fetch_binpkg itself, but it didn't
re-enable retries in the chromite gs module.
BUG=chromium:389212
TEST=Ran run_tests.
Change-Id: I632f038cd9727c4cf103287ba7358dc0043c8c12
Reviewed-on: https://chromium-review.googlesource.com/213260
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Yu-Ju Hong <yjhong@chromium.org>
diff --git a/scripts/gs_fetch_binpkg.py b/scripts/gs_fetch_binpkg.py
index 956dff5..1cf8f7d 100644
--- a/scripts/gs_fetch_binpkg.py
+++ b/scripts/gs_fetch_binpkg.py
@@ -43,7 +43,7 @@
def main(argv):
parser = GetParser()
options = parser.parse_args(argv)
- ctx = gs.GSContext(retries=0)
+ ctx = gs.GSContext()
try:
Copy(ctx, options.uri, options.filename)
except gs.GSContextException as ex: