Skip to content

Commit

Permalink
use Python 3 shebang (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Apr 6, 2020
1 parent 3acbc02 commit 4ba5772
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bin/catkin_find
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion bin/catkin_init_workspace
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion bin/catkin_make
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion bin/catkin_make_isolated
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion bin/catkin_test_results
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion bin/catkin_topological_order
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from __future__ import print_function

Expand Down
2 changes: 1 addition & 1 deletion doc/generate_cmake_rst.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Software License Agreement (BSD License)
#
Expand Down
2 changes: 1 addition & 1 deletion doc/howto/format1/installing_python.rst
Expand Up @@ -35,7 +35,7 @@ Another good practice is to keep executable scripts very short,
placing most of the code in a module which the script imports and then
invokes::

#! /usr/bin/env python
#! /usr/bin/env python3
import your_package.main
if __name__ == '__main__':
your_package.main()
Expand Down
2 changes: 1 addition & 1 deletion doc/howto/format2/installing_python.rst
Expand Up @@ -35,7 +35,7 @@ Another good practice is to keep executable scripts very short,
placing most of the code in a module which the script imports and then
invokes::

#! /usr/bin/env python
#! /usr/bin/env python3
import your_package.main
if __name__ == '__main__':
your_package.main()
Expand Down
2 changes: 1 addition & 1 deletion test/local_tests/test_with_mock_workspace.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import os
import shutil
Expand Down
2 changes: 1 addition & 1 deletion test/network_tests/test_unstable.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import os
import shutil
Expand Down

0 comments on commit 4ba5772

Please sign in to comment.