David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 1 | # Copyright (c) 2012 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 | |
Cindy Lin | 8109309 | 2021-12-09 20:40:57 +0000 | [diff] [blame] | 5 | """Print the environment allowlist.""" |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 6 | |
Mike Frysinger | 93a3ee9 | 2021-12-17 00:23:52 -0500 | [diff] [blame] | 7 | import sys |
| 8 | |
Aviv Keshet | b7519e1 | 2016-10-04 00:50:00 -0700 | [diff] [blame] | 9 | from chromite.lib import constants |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 10 | |
| 11 | |
Mike Frysinger | 93a3ee9 | 2021-12-17 00:23:52 -0500 | [diff] [blame] | 12 | def main(argv): |
| 13 | if argv: |
| 14 | sys.exit(f'{sys.argv[0]}: {__doc__}') |
Cindy Lin | 8109309 | 2021-12-09 20:40:57 +0000 | [diff] [blame] | 15 | print(' '.join(constants.CHROOT_ENVIRONMENT_ALLOWLIST)) |