Mike Frysinger | e58c0e2 | 2017-10-04 15:43:30 -0400 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 2 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
Mike Nichols | a141416 | 2021-04-22 20:07:22 +0000 | [diff] [blame^] | 6 | """Print the environment whitelist.""" |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 7 | |
Mike Frysinger | 383367e | 2014-09-16 15:06:17 -0400 | [diff] [blame] | 8 | from __future__ import print_function |
| 9 | |
Mike Frysinger | 687ab9d | 2020-02-06 00:35:15 -0500 | [diff] [blame] | 10 | import sys |
| 11 | |
Aviv Keshet | b7519e1 | 2016-10-04 00:50:00 -0700 | [diff] [blame] | 12 | from chromite.lib import constants |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 13 | |
| 14 | |
Mike Frysinger | 54545bc | 2020-02-16 05:37:56 +0000 | [diff] [blame] | 15 | assert sys.version_info >= (3, 6), 'This module requires Python 3.6+' |
Mike Frysinger | 687ab9d | 2020-02-06 00:35:15 -0500 | [diff] [blame] | 16 | |
| 17 | |
David James | 43e14f4 | 2012-12-14 13:44:16 -0800 | [diff] [blame] | 18 | def main(_argv): |
Mike Frysinger | 383367e | 2014-09-16 15:06:17 -0400 | [diff] [blame] | 19 | print(' '.join(constants.CHROOT_ENVIRONMENT_WHITELIST)) |