summaryrefslogtreecommitdiffstats
path: root/debian/patches/0016-Update-shebangs.patch
blob: 52be91e08f8dfea977dc300bd572eefb624903bf (plain)
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
From: Neil Muller <drnlmuller+debian@gmail.com>
Date: Thu, 5 Sep 2019 18:08:51 +0200
Subject: Update shebangs

Change the shebangs to use python3 so we get the correct result
when we build the package.
---
 filter-example.py | 2 +-
 filter-test.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/filter-example.py b/filter-example.py
index 922f941..094d0b7 100755
--- a/filter-example.py
+++ b/filter-example.py
@@ -9,5 +9,5 @@ metadata = json.loads(sys.argv[1])
 
 metadata['author'] = "The Great and Powerful Oz"
 
-print json.dumps(metadata)
+print(json.dumps(metadata))
 # end
diff --git a/filter-test.py b/filter-test.py
index 9c42b71..82c0660 100755
--- a/filter-test.py
+++ b/filter-test.py
@@ -31,5 +31,5 @@ else:
 
 time.sleep(1.5)	# Avoid a race condition
 
-print json.dumps(metadata)
+print(json.dumps(metadata))
 # end