Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From 09bd8368bf0d5385663a10eeb890131481681bdd Mon Sep 17 00:00:00 2001 |
| 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Thu, 23 Apr 2020 09:28:58 +0000 |
| 4 | Subject: [PATCH] change shebang to python3 |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 9 | --- |
| 10 | pbr/tests/test_integration.py | 2 +- |
| 11 | pbr/tests/test_packaging.py | 2 +- |
| 12 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 13 | |
| 14 | diff --git a/pbr/tests/test_integration.py b/pbr/tests/test_integration.py |
| 15 | index 8e96f21..b07cbe3 100644 |
| 16 | --- a/pbr/tests/test_integration.py |
| 17 | +++ b/pbr/tests/test_integration.py |
| 18 | @@ -150,7 +150,7 @@ class TestInstallWithoutPbr(base.BaseTestCase): |
| 19 | pkgs = { |
| 20 | 'pkgTest': { |
| 21 | 'setup.py': textwrap.dedent("""\ |
| 22 | - #!/usr/bin/env python |
| 23 | + #!/usr/bin/env python3 |
| 24 | import setuptools |
| 25 | setuptools.setup( |
| 26 | name = 'pkgTest', |
| 27 | diff --git a/pbr/tests/test_packaging.py b/pbr/tests/test_packaging.py |
| 28 | index 07be547..f6a9412 100644 |
| 29 | --- a/pbr/tests/test_packaging.py |
| 30 | +++ b/pbr/tests/test_packaging.py |
| 31 | @@ -206,7 +206,7 @@ class CreatePackages(fixtures.Fixture): |
| 32 | |
| 33 | defaults = { |
| 34 | 'setup.py': textwrap.dedent(six.u("""\ |
| 35 | - #!/usr/bin/env python |
| 36 | + #!/usr/bin/env python3 |
| 37 | import setuptools |
| 38 | setuptools.setup( |
| 39 | setup_requires=['pbr'], |
| 40 | -- |
| 41 | 2.24.1 |
| 42 | |