mercurial/crecord.py
changeset 50592 a5bba73a1352
parent 50409 29d7a5a8b8c6
child 50593 87b004378fc4
--- a/mercurial/crecord.py	Thu Feb 02 17:21:22 2023 +0100
+++ b/mercurial/crecord.py	Thu Feb 02 17:21:36 2023 +0100
@@ -573,7 +573,7 @@
     ui.write(_(b'starting interactive selection\n'))
     chunkselector = curseschunkselector(headerlist, ui, operation)
     origsigtstp = sentinel = object()
-    if util.safehasattr(signal, b'SIGTSTP'):
+    if util.safehasattr(signal, 'SIGTSTP'):
         origsigtstp = signal.getsignal(signal.SIGTSTP)
     try:
         with util.with_lc_ctype():