comparison mercurial/vfs.py @ 40999:e10adebf8176

merge with stable
author Augie Fackler <augie@google.com>
date Tue, 18 Dec 2018 10:21:25 -0500
parents 03bca908d9fb 8d9f366b7f19
children c8006a25b845
comparison
equal deleted inserted replaced
40998:4277e20cfec4 40999:e10adebf8176
523 523
524 def __delattr__(self, attr): 524 def __delattr__(self, attr):
525 return delattr(self._origfh, attr) 525 return delattr(self._origfh, attr)
526 526
527 def __enter__(self): 527 def __enter__(self):
528 return self._origfh.__enter__() 528 self._origfh.__enter__()
529 return self
529 530
530 def __exit__(self, exc_type, exc_value, exc_tb): 531 def __exit__(self, exc_type, exc_value, exc_tb):
531 raise NotImplementedError('attempted instantiating ' + str(type(self))) 532 raise NotImplementedError('attempted instantiating ' + str(type(self)))
532 533
533 def close(self): 534 def close(self):