Skip to content

Commit

Permalink
Merge pull request #6042 from ZoeLeah/master
Browse files Browse the repository at this point in the history
Change shebang line to #!/usr/bin/env python
  • Loading branch information
arm4b authored Oct 24, 2023
2 parents 89e94da + fce2625 commit 7a84658
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ in development

Fixed
~~~~~
* Fix issue with linux pack actions failed to run remotely due to incorrect python shebang. #5983 #6042
Contributed by Ronnie Hoffmann (@ZoeLeah Schwarz IT KG)

* Fix proxy auth mode in HA environments #5766
Contributed by @floatingstatic
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/actions/print_ctx.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/actions/python_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/actions/pythonpath.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ description: Debug utilities for StackStorm
ref: debug
author: StackStorm Authors
email: [email protected]
version: "0.0.1"
version: "0.0.2"
python_versions:
- "3"
2 changes: 1 addition & 1 deletion contrib/linux/actions/checks/check_loadavg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/stackstorm/st2/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/actions/checks/check_processes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/stackstorm/st2/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/actions/dig.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/actions/service.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/stackstorm/st2/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords:
- open ports
- processes
- ps
version : 1.2.0
version : 1.2.1
python_versions:
- "2"
- "3"
Expand Down
2 changes: 1 addition & 1 deletion st2client/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
Expand Down
2 changes: 1 addition & 1 deletion st2common/bin/paramiko_ssh_evenlets_tester.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
Expand Down
2 changes: 1 addition & 1 deletion st2tests/testpacks/checks/actions/checks/check_loadavg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down

0 comments on commit 7a84658

Please sign in to comment.