This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-utilities.git


The following commit(s) were added to refs/heads/master by this push:
     new da454bc  use python3 instead of python (#84)
da454bc is described below

commit da454bc48346909fc546dfc8ed2fdbb6b02732ec
Author: David Grove <dgrove-...@users.noreply.github.com>
AuthorDate: Thu Aug 18 08:57:42 2022 -0400

    use python3 instead of python (#84)
---
 scancode/scanCode.py | 2 +-
 scancode/test.sh     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scancode/scanCode.py b/scancode/scanCode.py
index 5cc6832..6a10795 100755
--- a/scancode/scanCode.py
+++ b/scancode/scanCode.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Executable Python script for scanning source code for compliance.
 
    This script checks some (simple) conventions:
diff --git a/scancode/test.sh b/scancode/test.sh
index 67ef529..b4c5585 100755
--- a/scancode/test.sh
+++ b/scancode/test.sh
@@ -23,10 +23,10 @@ SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 cd $SCRIPTDIR
 
 # Test help
-python ./scanCode.py . -h
+python3 ./scanCode.py . -h
 
 # Test basic usage
-python ./scanCode.py . --config travis.cfg
+python3 ./scanCode.py . --config travis.cfg
 
 # Test verbose usage
-python ./scanCode.py . --config travis.cfg -v
+python3 ./scanCode.py . --config travis.cfg -v

Reply via email to