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 c297253
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 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

0 comments on commit c297253

Please sign in to comment.