##// END OF EJS Templates
mq: use sysstr to check for attribute access...
marmoute -
r51795:defd2b3e default
parent child Browse files
Show More
@@ -260,7 +260,7 b' def _loadnewui(srcui, args, cdebug):'
260 from . import dispatch # avoid cycle
260 from . import dispatch # avoid cycle
261
261
262 newui = srcui.__class__.load()
262 newui = srcui.__class__.load()
263 for a in [b'fin', b'fout', b'ferr', b'environ']:
263 for a in ['fin', 'fout', 'ferr', 'environ']:
264 setattr(newui, a, getattr(srcui, a))
264 setattr(newui, a, getattr(srcui, a))
265 if util.safehasattr(srcui, '_csystem'):
265 if util.safehasattr(srcui, '_csystem'):
266 newui._csystem = srcui._csystem
266 newui._csystem = srcui._csystem
@@ -348,9 +348,9 b' class channeledsystem:'
348
348
349 _iochannels = [
349 _iochannels = [
350 # server.ch, ui.fp, mode
350 # server.ch, ui.fp, mode
351 (b'cin', b'fin', 'rb'),
351 ('cin', 'fin', 'rb'),
352 (b'cout', b'fout', 'wb'),
352 ('cout', 'fout', 'wb'),
353 (b'cerr', b'ferr', 'wb'),
353 ('cerr', 'ferr', 'wb'),
354 ]
354 ]
355
355
356
356
General Comments 0
You need to be logged in to leave comments. Login now