##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51462:fca08dd6 default
parent child Browse files
Show More
@@ -331,7 +331,7 b' def _runcatch(req):'
331
331
332 ui = req.ui
332 ui = req.ui
333 try:
333 try:
334 for name in b'SIGBREAK', b'SIGHUP', b'SIGTERM':
334 for name in 'SIGBREAK', 'SIGHUP', 'SIGTERM':
335 num = getattr(signal, name, None)
335 num = getattr(signal, name, None)
336 if num:
336 if num:
337 signal.signal(num, catchterm)
337 signal.signal(num, catchterm)
General Comments 0
You need to be logged in to leave comments. Login now