mercurial/crecord.py
changeset 50561 a5bba73a1352
parent 50275 29d7a5a8b8c6
child 50562 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():