blob: da1b37593d132829ee68be19a8a2e9fbdd56304a [file] [log] [blame]
Mike Frysinger55504ee2018-10-10 15:53:27 -04001# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Wrapper around gsutil.
6
7This takes care of downloading the pinned version we use in chromite.
8"""
9
Mike Frysinger55504ee2018-10-10 15:53:27 -040010from chromite.lib import gs
11
12
Mike Frysinger55504ee2018-10-10 15:53:27 -040013def main(argv):
Mike Frysingerb0eabe32021-06-22 10:38:53 -040014 ctx = gs.GSContext(retries=0)
15 return ctx.DoCommand(
16 argv, print_cmd=False, stderr=None, check=False).returncode