Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up shebang warnings #630

Merged
merged 1 commit into from
Nov 2, 2018
Merged

Clean up shebang warnings #630

merged 1 commit into from
Nov 2, 2018

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 17, 2018

Two classes of changes here:

  1. catkin_support.py is executable, but has no shebang, so I removed the executable bit.
  2. main.py and many platforms have a shebang, and I removed them. Some can still be executed directly using the python executable, but like with Clean up shebang warnings rospkg#159, it doesn't make sense to have executable scripts in the module.

Two classes of changes here:
1. `catkin_support.py` is executable, but has no shebang, so I removed
the executable bit.
2. `main.py` has a shebang and `__main__` handler, and I removed it. It
can still be executed directly using the python executable, but like
with ros-infrastructure/rospkg#159, it doesn't make sense to have
executable scripts in the module.
@nuclearsandwich nuclearsandwich merged commit 8dbac9c into ros-infrastructure:master Nov 2, 2018
@at-wat at-wat mentioned this pull request Nov 15, 2018
at-wat pushed a commit to at-wat/rosdep that referenced this pull request Nov 15, 2018
Two classes of changes here:
1. `catkin_support.py` is executable, but has no shebang, so I removed
the executable bit.
2. `main.py` has a shebang and `__main__` handler, and I removed it. It
can still be executed directly using the python executable, but like
with ros-infrastructure/rospkg#159, it doesn't make sense to have
executable scripts in the module.
at-wat added a commit to at-wat/rosdep that referenced this pull request Nov 15, 2018
@cottsay cottsay deleted the shebangs branch June 3, 2020 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants