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
|
From: Ben Hutchings <ben@decadent.org.uk>
Date: Wed, 29 Jan 2020 13:31:51 +0000
Subject: Run scripts with Python 3
Bug-Debian: https://bugs.debian.org/938829
All the Python scripts here are meant to be Python 3 compatible, but
they still use "/usr/bin/env python" as their interpreter. Since
Debian is deprecating Python 2 but not (yet) changing "python" to
Python 3, change the shebang lines.
---
db2bin.py | 2 +-
db2fw.py | 2 +-
dbparse.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/db2bin.py b/db2bin.py
index d1b7fc6..3e781ca 100755
--- a/db2bin.py
+++ b/db2bin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
from io import BytesIO, open
import struct
diff --git a/db2fw.py b/db2fw.py
index 3affd5a..84bfb1c 100755
--- a/db2fw.py
+++ b/db2fw.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
from io import BytesIO, open
import struct
diff --git a/dbparse.py b/dbparse.py
index 5f7e082..dfd15fd 100755
--- a/dbparse.py
+++ b/dbparse.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
from functools import total_ordering
import sys, math
|