##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51454:a5bba73a default
parent child Browse files
Show More
@@ -573,7 +573,7 b' def chunkselector(ui, headerlist, operat'
573 ui.write(_(b'starting interactive selection\n'))
573 ui.write(_(b'starting interactive selection\n'))
574 chunkselector = curseschunkselector(headerlist, ui, operation)
574 chunkselector = curseschunkselector(headerlist, ui, operation)
575 origsigtstp = sentinel = object()
575 origsigtstp = sentinel = object()
576 if util.safehasattr(signal, b'SIGTSTP'):
576 if util.safehasattr(signal, 'SIGTSTP'):
577 origsigtstp = signal.getsignal(signal.SIGTSTP)
577 origsigtstp = signal.getsignal(signal.SIGTSTP)
578 try:
578 try:
579 with util.with_lc_ctype():
579 with util.with_lc_ctype():
General Comments 0
You need to be logged in to leave comments. Login now