1
0
Fork 0
irker/debian/patches/0016-Update-shebangs.patch
Daniel Baumann 3ab1d7a5b6
Adding debian version 2.23+dfsg-1.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:03:53 +02:00

33 lines
858 B
Diff

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