From bcd67420ce5ea1ac84ae892d884f92eee02922bc Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 18 Oct 2023 00:44:14 +0900 Subject: [PATCH] Fix python shebang The current shebang requires /usr/bin/python which is not available in Ubuntu Jammy by default. This also removes unnecessary shebangs. Change-Id: I046542e43d993ba201cc035554b4dcc4d364ed0a --- manage.py | 2 +- manila_ui/dashboards/project/__init__.py | 3 +-- manila_ui/dashboards/project/config.py | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/manage.py b/manage.py index a8e55fd8..ed9f4779 100755 --- a/manage.py +++ b/manage.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/manila_ui/dashboards/project/__init__.py b/manila_ui/dashboards/project/__init__.py index 4d50a67c..fadc2743 100644 --- a/manila_ui/dashboards/project/__init__.py +++ b/manila_ui/dashboards/project/__init__.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python - +# # 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 # a copy of the License at diff --git a/manila_ui/dashboards/project/config.py b/manila_ui/dashboards/project/config.py index 39920934..605993bb 100644 --- a/manila_ui/dashboards/project/config.py +++ b/manila_ui/dashboards/project/config.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python - +# # 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 # a copy of the License at