aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Pirhonen <xxc3ncoredxx@gmail.com>2022-11-21 00:28:24 -0600
committerSam James <sam@gentoo.org>2022-11-22 06:21:45 +0000
commitd9c1405f941ee131c15fdd24a46fcd6536773068 (patch)
treee6e00a20272be3105f05b1670c86328ddbe791e7 /bin/ebuild-ipc.py
parentNEWS: rephrase a little bit (diff)
downloadportage-d9c1405f941ee131c15fdd24a46fcd6536773068.tar.gz
portage-d9c1405f941ee131c15fdd24a46fcd6536773068.tar.bz2
portage-d9c1405f941ee131c15fdd24a46fcd6536773068.zip
Remove Jython compat
Jython is stuck in Python 2-land. Remove Jython compatibility code. Bug: https://bugs.gentoo.org/424259 Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Closes: https://github.com/gentoo/portage/pull/942 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'bin/ebuild-ipc.py')
-rwxr-xr-xbin/ebuild-ipc.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py
index bc5dda27d..c0b24c542 100755
--- a/bin/ebuild-ipc.py
+++ b/bin/ebuild-ipc.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# Copyright 2010-2021 Gentoo Authors
+# Copyright 2010-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# This is a helper which ebuild processes can use
@@ -24,7 +24,6 @@ except KeyboardInterrupt:
import errno
import logging
import pickle
-import platform
import sys
import time
@@ -35,12 +34,7 @@ def debug_signal(signum, frame):
pdb.set_trace()
-if platform.python_implementation() == "Jython":
- debug_signum = signal.SIGUSR2 # bug #424259
-else:
- debug_signum = signal.SIGUSR1
-
-signal.signal(debug_signum, debug_signal)
+signal.signal(signal.SIGUSR1, debug_signal)
if os.path.isfile(
os.path.join(