##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51450:6e749d4a default
parent child Browse files
Show More
@@ -332,7 +332,7 b' class server:'
332 # any kind of interaction must use server channels, but chg may
332 # any kind of interaction must use server channels, but chg may
333 # replace channels by fully functional tty files. so nontty is
333 # replace channels by fully functional tty files. so nontty is
334 # enforced only if cin is a channel.
334 # enforced only if cin is a channel.
335 if not util.safehasattr(self.cin, b'fileno'):
335 if not util.safehasattr(self.cin, 'fileno'):
336 ui.setconfig(b'ui', b'nontty', b'true', b'commandserver')
336 ui.setconfig(b'ui', b'nontty', b'true', b'commandserver')
337
337
338 req = dispatch.request(
338 req = dispatch.request(
General Comments 0
You need to be logged in to leave comments. Login now