summaryrefslogtreecommitdiffstats
path: root/debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:27:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:27:58 +0000
commit407c285aea9830dc068a3bb49ada360c909d438b (patch)
tree721f0b462bde352148c2d34bd503e55f2bf0a934 /debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch
parentAdding upstream version 2.23+dfsg. (diff)
downloadirker-407c285aea9830dc068a3bb49ada360c909d438b.tar.xz
irker-407c285aea9830dc068a3bb49ada360c909d438b.zip
Adding debian version 2.23+dfsg-1.debian/2.23+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch')
-rw-r--r--debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch b/debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch
new file mode 100644
index 0000000..ef217c6
--- /dev/null
+++ b/debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch
@@ -0,0 +1,23 @@
+From: Neil Muller <drnlmuller+debian@gmail.com>
+Date: Thu, 5 Sep 2019 18:08:11 +0200
+Subject: Update irkerhook documentation to python 3
+
+Change the example program to use python3 in the irkerhook
+documentation.
+---
+ irkerhook.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/irkerhook.xml b/irkerhook.xml
+index 9bddd08..77b5d9f 100644
+--- a/irkerhook.xml
++++ b/irkerhook.xml
+@@ -374,7 +374,7 @@ metadata = json.loads(sys.argv[1])
+
+ metadata['author'] = "The Great and Powerful Oz"
+
+-print json.dumps(metadata)
++print(json.dumps(metadata))
+ # end
+ </programlisting>
+