##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51446:55886050 default
parent child Browse files
Show More
@@ -236,7 +236,7 b' def _newchgui(srcui, csystem, attachio):'
236 236 # will behave differently (i.e. write to stdout).
237 237 if (
238 238 out is not self.fout
239 or not util.safehasattr(self.fout, b'fileno')
239 or not util.safehasattr(self.fout, 'fileno')
240 240 or self.fout.fileno() != procutil.stdout.fileno()
241 241 or self._finoutredirected
242 242 ):
General Comments 0
You need to be logged in to leave comments. Login now