diff options
author | 2024-04-20 16:27:37 +0200 | |
---|---|---|
committer | 2024-04-20 16:37:39 +0200 | |
commit | 535f35b4369f28eb4f043297fc50c71e05bb9330 (patch) | |
tree | bc6ea10f13234ecf1a145ac064b8c2b37de1aef3 /dev-tcltk/snack/files/snack-2.2.10-py3.8.patch | |
parent | media-libs/libshumate: add 1.1.4 (diff) | |
download | gentoo-535f35b4369f28eb4f043297fc50c71e05bb9330.tar.gz gentoo-535f35b4369f28eb4f043297fc50c71e05bb9330.tar.bz2 gentoo-535f35b4369f28eb4f043297fc50c71e05bb9330.zip |
dev-tcltk/snack: PythonCompatUpdate
Closes: https://bugs.gentoo.org/929524
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/snack/files/snack-2.2.10-py3.8.patch')
-rw-r--r-- | dev-tcltk/snack/files/snack-2.2.10-py3.8.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-tcltk/snack/files/snack-2.2.10-py3.8.patch b/dev-tcltk/snack/files/snack-2.2.10-py3.8.patch new file mode 100644 index 000000000000..ec42b50eac88 --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-py3.8.patch @@ -0,0 +1,11 @@ +--- a/python/tkSnack.py 2024-04-20 16:01:28.403396211 +0200 ++++ b/python/tkSnack.py 2024-04-20 16:01:55.094084757 +0200 +@@ -267,7 +267,7 @@ + + def pitch(self, method=None, **kw): + """Returns a list of pitch values.""" +- if method is None or method is "amdf" or method is "AMDF": ++ if method is None or method == "amdf" or method == "AMDF": + result = self.tk.call((self.name, 'pitch') + self._options(kw)) + return self._getdoubles(result) + else: |