[v1,2/2] python: fix shebangs
Checks
Commit Message
Remove shebangs in __init__.py files as they're not supposed to be
executed.
Modify the other shebangs so that virtualenvs can be used.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
dep/__init__.py | 1 -
framework/__init__.py | 1 -
main.py | 2 +-
nics/__init__.py | 1 -
tests/__init__.py | 1 -
tools/__init__.py | 1 -
vm_images/create_vm_image.py | 2 +-
7 files changed, 2 insertions(+), 7 deletions(-)
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
# BSD LICENSE
#
# Copyright (c) 2021 PANTHEON.tech s.r.o.
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
# BSD LICENSE
#
# Copyright (c) 2021 PANTHEON.tech s.r.o.
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# BSD LICENSE
#
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
# BSD LICENSE
#
# Copyright (c) 2021 PANTHEON.tech s.r.o.
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
# BSD LICENSE
#
# Copyright (c) 2021 PANTHEON.tech s.r.o.
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
# BSD LICENSE
#
# Copyright (c) 2021 PANTHEON.tech s.r.o.
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import argparse
import enum