diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:31:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:31:26 +0000 |
commit | f686102cc3129b62339e3166afdf492015deee07 (patch) | |
tree | d0f5387a7b3c5b218b921f58a70db6067bc93e28 /debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch | |
parent | Adding upstream version 2.19+dfsg. (diff) | |
download | irker-f686102cc3129b62339e3166afdf492015deee07.tar.xz irker-f686102cc3129b62339e3166afdf492015deee07.zip |
Adding debian version 2.19+dfsg-1.debian/2.19+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.patch | 32 |
1 files changed, 32 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..0b1b1a8 --- /dev/null +++ b/debian/patches/0015-Update-irkerhook-documentation-to-python-3.patch @@ -0,0 +1,32 @@ +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 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/irkerhook.xml b/irkerhook.xml +index 2160166..77b5d9f 100644 +--- a/irkerhook.xml ++++ b/irkerhook.xml +@@ -365,7 +365,7 @@ representation of (possibly altered) metadata.</para> + <para>Below is an example filter:</para> + + <programlisting> +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # This is a trivial example of a metadata filter. + # All it does is change the name of the commit's author. + # +@@ -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> + |