Skip to content

Commit

Permalink
Clean up shebang warnings (ros-infrastructure#630)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cottsay authored and at-wat committed Nov 15, 2018
1 parent 59a2682 commit 2af7181
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 11 deletions.
Empty file modified src/rosdep2/catkin_support.py
100755 → 100644
Empty file.
1 change: 0 additions & 1 deletion src/rosdep2/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/arch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/cygwin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/debian.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/freebsd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2010, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/gem.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# Copyright (c) 2012, Intermodalics, BVBA.
# All rights reserved.
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/gentoo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/osx.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/pip.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/redhat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down
1 change: 0 additions & 1 deletion src/rosdep2/platforms/slackware.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
Expand Down

0 comments on commit 2af7181

Please sign in to comment.