Description: Fix shebangs in examples/
Author: IOhannes m zmölnig
Origin: Debian
Bug: https://github.com/hardbyte/python-can/pull/1452
Last-Update: 2022-11-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- python-can.orig/examples/asyncio_demo.py
+++ python-can/examples/asyncio_demo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example demonstrates how to use async IO with python-can.
--- python-can.orig/examples/crc.py
+++ python-can/examples/crc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example exercises the periodic task's multiple message sending capabilities
--- python-can.orig/examples/cyclic.py
+++ python-can/examples/cyclic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example exercises the periodic sending capabilities.
--- python-can.orig/examples/cyclic_multiple.py
+++ python-can/examples/cyclic_multiple.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example exercises the periodic task's multiple message sending capabilities
--- python-can.orig/examples/print_notifier.py
+++ python-can/examples/print_notifier.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 import time
 import can
 
--- python-can.orig/examples/receive_all.py
+++ python-can/examples/receive_all.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Shows how to receive messages via polling.
--- python-can.orig/examples/send_multiple.py
+++ python-can/examples/send_multiple.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This demo creates multiple processes of producers to spam a socketcan bus.
--- python-can.orig/examples/send_one.py
+++ python-can/examples/send_one.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example shows how sending a single message works.
--- python-can.orig/examples/serial_com.py
+++ python-can/examples/serial_com.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example sends every second a messages over the serial interface and also
--- python-can.orig/examples/simple_log_converter.py
+++ python-can/examples/simple_log_converter.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Use this to convert .can/.asc files to .log files.
--- python-can.orig/examples/vcan_filtered.py
+++ python-can/examples/vcan_filtered.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This shows how message filtering works.
