File: examples.patch

package info (click to toggle)
python-can 4.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,428 kB
  • sloc: python: 27,154; makefile: 32; sh: 16
file content (144 lines) | stat: -rw-r--r-- 4,227 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
From: =?utf-8?q?IOhannes_m_zm=C3=B6lnig?= <umlaeute@debian.org>
Date: Tue, 2 May 2023 10:42:26 +0200
Subject: Fix shebangs in examples/

Origin: Debian
Bug: https://github.com/hardbyte/python-can/pull/1452
Last-Update: 2022-11-29

Last-Update: 2022-11-29
---
 examples/asyncio_demo.py         | 2 +-
 examples/crc.py                  | 2 +-
 examples/cyclic.py               | 2 +-
 examples/cyclic_checksum.py      | 2 +-
 examples/cyclic_multiple.py      | 2 +-
 examples/print_notifier.py       | 2 +-
 examples/receive_all.py          | 2 +-
 examples/send_multiple.py        | 2 +-
 examples/send_one.py             | 2 +-
 examples/serial_com.py           | 2 +-
 examples/simple_log_converter.py | 2 +-
 examples/vcan_filtered.py        | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/examples/asyncio_demo.py b/examples/asyncio_demo.py
index 6befbe7..64d5389 100755
--- a/examples/asyncio_demo.py
+++ b/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.
diff --git a/examples/crc.py b/examples/crc.py
index fff3dce..78c165a 100755
--- a/examples/crc.py
+++ b/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
diff --git a/examples/cyclic.py b/examples/cyclic.py
index bdd69ee..22e261c 100755
--- a/examples/cyclic.py
+++ b/examples/cyclic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example exercises the periodic sending capabilities.
diff --git a/examples/cyclic_checksum.py b/examples/cyclic_checksum.py
index 763fcd7..91c7bf8 100644
--- a/examples/cyclic_checksum.py
+++ b/examples/cyclic_checksum.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This example demonstrates how to send a periodic message containing
diff --git a/examples/cyclic_multiple.py b/examples/cyclic_multiple.py
index 43dc0cd..1af7c80 100755
--- a/examples/cyclic_multiple.py
+++ b/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
diff --git a/examples/print_notifier.py b/examples/print_notifier.py
index e6e11db..1995473 100755
--- a/examples/print_notifier.py
+++ b/examples/print_notifier.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import time
 
diff --git a/examples/receive_all.py b/examples/receive_all.py
index e9410e4..596ee99 100755
--- a/examples/receive_all.py
+++ b/examples/receive_all.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Shows how to receive messages via polling.
diff --git a/examples/send_multiple.py b/examples/send_multiple.py
index 9123e1b..b8d8137 100755
--- a/examples/send_multiple.py
+++ b/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.
diff --git a/examples/send_one.py b/examples/send_one.py
index 41b3a3c..6ec9bab 100755
--- a/examples/send_one.py
+++ b/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.
diff --git a/examples/serial_com.py b/examples/serial_com.py
index 9f203b2..ef721e9 100755
--- a/examples/serial_com.py
+++ b/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
diff --git a/examples/simple_log_converter.py b/examples/simple_log_converter.py
index 20e8fba..374b7b8 100755
--- a/examples/simple_log_converter.py
+++ b/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.
diff --git a/examples/vcan_filtered.py b/examples/vcan_filtered.py
index 22bca70..52fca5c 100755
--- a/examples/vcan_filtered.py
+++ b/examples/vcan_filtered.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This shows how message filtering works.