mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[python] Fix shebangs to use the "right" interpreter. (#3292)
Co-authored-by: Fabien-B <Fabien-B@github.com>
This commit is contained in:
@@ -28,7 +28,7 @@ This python example shows the reception and emission of messages. For the recept
|
||||
.. code-block:: python
|
||||
:linenos:
|
||||
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import time
|
||||
import os
|
||||
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from os import path, getenv
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env /usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# This file is part of PPRZLINK.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from __future__ import print_function
|
||||
import os
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from __future__ import print_function
|
||||
import os
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
from collections import namedtuple
|
||||
from pyproj import CRS, Proj
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import signal
|
||||
import re
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
# Copyright (C) 2008-2022 The Paparazzi Team
|
||||
# released under GNU GPLv2 or later. See COPYING file.
|
||||
import os
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#! /usr/bin/env python3
|
||||
|
||||
# Tool for visualizing quaternion as rotated cube
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
#This Python script generates a list of source files.
|
||||
#It finds the correct VPATH to each source file from make, and then feeds all info to gcc -MM.
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# <message NAME="DC_SHOT" ID="110">
|
||||
# <field TYPE="int16" NAME="photo_nr"/>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
# temporary solution to print a message to reconnect the usb cable
|
||||
#At some point hopefully this can be automated (without replugging)
|
||||
print("\n ")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import re
|
||||
from os import path, getenv
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#! /usr/bin/env python3
|
||||
|
||||
import cv2
|
||||
import sys
|
||||
|
||||
Reference in New Issue
Block a user