summaryrefslogtreecommitdiffstats
path: root/debian/patches/0016-Update-shebangs.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/0016-Update-shebangs.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/0016-Update-shebangs.patch b/debian/patches/0016-Update-shebangs.patch
new file mode 100644
index 0000000..52be91e
--- /dev/null
+++ b/debian/patches/0016-Update-shebangs.patch
@@ -0,0 +1,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