##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51455:87b00437 default
parent child Browse files
Show More
@@ -1944,7 +1944,7 b' are you sure you want to review/edit and'
1944 """
1944 """
1945
1945
1946 origsigwinch = sentinel = object()
1946 origsigwinch = sentinel = object()
1947 if util.safehasattr(signal, b'SIGWINCH'):
1947 if util.safehasattr(signal, 'SIGWINCH'):
1948 origsigwinch = signal.signal(signal.SIGWINCH, self.sigwinchhandler)
1948 origsigwinch = signal.signal(signal.SIGWINCH, self.sigwinchhandler)
1949 try:
1949 try:
1950 return self._main(stdscr)
1950 return self._main(stdscr)
General Comments 0
You need to be logged in to leave comments. Login now