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 | |
Mike Nichols | a141416 | 2021-04-22 20:07:22 +0000 | [diff] [blame] | 5 | """Print the environment whitelist.""" |
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__}') |
Mike Frysinger | 383367e | 2014-09-16 15:06:17 -0400 | [diff] [blame] | 15 | print(' '.join(constants.CHROOT_ENVIRONMENT_WHITELIST)) |