From 90437d9a6c3bd91c9c17493739890cb834326a05 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 18 Oct 2023 00:45:43 +0900 Subject: [PATCH] Fix python shebang The current shebang requires /usr/bin/python which is not available in Ubuntu Jammy by default. Change-Id: Id64d6bba35e3dcecac7772964b81aea51661b6cb --- barbican/cmd/barbican_manage.py | 2 +- barbican/cmd/db_manage.py | 2 +- barbican/cmd/keystone_listener.py | 2 +- barbican/cmd/pkcs11_kek_rewrap.py | 2 +- barbican/cmd/pkcs11_key_generation.py | 2 +- barbican/cmd/pkcs11_migrate_kek_signatures.py | 2 +- barbican/cmd/retry_scheduler.py | 2 +- barbican/cmd/worker.py | 2 +- bin/barbican-api | 2 +- bin/demo_requests.py | 2 +- bin/versionbuild.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/barbican/cmd/barbican_manage.py b/barbican/cmd/barbican_manage.py index 513541707..2597c23dc 100644 --- a/barbican/cmd/barbican_manage.py +++ b/barbican/cmd/barbican_manage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2010-2015 OpenStack LLC. # All Rights Reserved. # diff --git a/barbican/cmd/db_manage.py b/barbican/cmd/db_manage.py index 1330b744d..d3c4c5f20 100644 --- a/barbican/cmd/db_manage.py +++ b/barbican/cmd/db_manage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2010-2015 OpenStack LLC. # All Rights Reserved. # diff --git a/barbican/cmd/keystone_listener.py b/barbican/cmd/keystone_listener.py index 6e9a9c3c2..b6c25716d 100644 --- a/barbican/cmd/keystone_listener.py +++ b/barbican/cmd/keystone_listener.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2014 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/barbican/cmd/pkcs11_kek_rewrap.py b/barbican/cmd/pkcs11_kek_rewrap.py index 078e11987..5f3746cdd 100644 --- a/barbican/cmd/pkcs11_kek_rewrap.py +++ b/barbican/cmd/pkcs11_kek_rewrap.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/barbican/cmd/pkcs11_key_generation.py b/barbican/cmd/pkcs11_key_generation.py index 4c7f48ab9..7407689f9 100644 --- a/barbican/cmd/pkcs11_key_generation.py +++ b/barbican/cmd/pkcs11_key_generation.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/barbican/cmd/pkcs11_migrate_kek_signatures.py b/barbican/cmd/pkcs11_migrate_kek_signatures.py index 40c309b64..9fa9b587c 100644 --- a/barbican/cmd/pkcs11_migrate_kek_signatures.py +++ b/barbican/cmd/pkcs11_migrate_kek_signatures.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/barbican/cmd/retry_scheduler.py b/barbican/cmd/retry_scheduler.py index 9973adacc..edfc93f6a 100644 --- a/barbican/cmd/retry_scheduler.py +++ b/barbican/cmd/retry_scheduler.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2015 Rackspace, Inc. # diff --git a/barbican/cmd/worker.py b/barbican/cmd/worker.py index f7a711ca8..59a6449ff 100644 --- a/barbican/cmd/worker.py +++ b/barbican/cmd/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2013-2014 Rackspace, Inc. # diff --git a/bin/barbican-api b/bin/barbican-api index 13e71b2d8..2d4878426 100755 --- a/bin/barbican-api +++ b/bin/barbican-api @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from paste import deploy from paste import httpserver diff --git a/bin/demo_requests.py b/bin/demo_requests.py index 6bff33082..ad5e5418c 100755 --- a/bin/demo_requests.py +++ b/bin/demo_requests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/bin/versionbuild.py b/bin/versionbuild.py index 8df977dbe..0c575a04b 100755 --- a/bin/versionbuild.py +++ b/bin/versionbuild.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2013-2014 Rackspace, Inc. #