Skip to content

Clean up shebang warnings#630

Merged
nuclearsandwich merged 1 commit intoros-infrastructure:masterfrom
cottsay:shebangs
Nov 2, 2018
Merged

Clean up shebang warnings#630
nuclearsandwich merged 1 commit intoros-infrastructure:masterfrom
cottsay:shebangs

Conversation

@cottsay
Copy link
Copy Markdown
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