Skip to content

Commit

Permalink
Use 'python3' to access Python (TriBITSPub#610)
Browse files Browse the repository at this point in the history
As per https://peps.python.org/pep-0394, it is best practice to not use
'python' in shebangs. Use the explicit `python3` entry point instead.

Signed-off-by: Samuel E. Browne <[email protected]>
  • Loading branch information
sebrowne authored and bartlettroscoe committed Oct 10, 2024
1 parent 807a598 commit cbf6b4a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion common_tools/git/cherry-pick-commits.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# @HEADER
# ************************************************************************
#
Expand Down
2 changes: 1 addition & 1 deletion common_tools/git/commit-summary-over-periods.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# @HEADER
# ************************************************************************
#
Expand Down
2 changes: 1 addition & 1 deletion common_tools/git/hooks/server-side/get_recipients.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import commands
import os
Expand Down
2 changes: 1 addition & 1 deletion common_tools/git/hooks/server-side/update_push_log.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# @HEADER
# ************************************************************************
#
Expand Down
2 changes: 1 addition & 1 deletion common_tools/test/hhmmss_math.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# This simple set of python functions makes it easy to do simple math with
# times formatted as <hr>h<min>m<sec>s. This makes it easier to analyze
Expand Down
2 changes: 1 addition & 1 deletion common_tools/test/kill-pstree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# @HEADER
# ************************************************************************
#
Expand Down
2 changes: 1 addition & 1 deletion refactoring/remove_std_tribits_includes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

include_files_to_remove = [
"AddSubdirectories",
Expand Down
2 changes: 1 addition & 1 deletion tribits/refactoring/string-replace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python3
#!/bin/env python33

usageHelp = r"""
Expand Down
2 changes: 1 addition & 1 deletion tribits/refactoring/token-replace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/env python3
#!/bin/env python33

usageHelp = r"""
Expand Down

0 comments on commit cbf6b4a

Please sign in to comment.